I am password protecting the xl file while opening. The code is like
myobjExcel.Worksheets(i).Protect("password");
So this password can be seen by clicking obn View -> Source
So how can I encrypt this ? Plz help Thanks in Advance.
...
Hi All,
I am using Jquery's autocomplete plugins to show smart search textbox in my application.
To get better Idea plz refere following url
http://docs.jquery.com/Plugins/Autocomplete
Now what I want is, When user goes on typing in the textbox respected filter result get append to the textbox which is fine. If the user types charact...
In NewForm.aspx i have three fields (StartTime, Duration, And EndTime), When user fill StartTime and Duration, I want javascript to calculate and fill EndTime automatically. I cant use:
_spBodyOnLoadFunctionNames.push("...");
because on onload the StartTime and Duration are not filled yet. So I tried:
var control = getTagFromIdentifi...
Something broke and I get "Object Expected" error on my live site, but I can't figure out where. If I run visual studio at the same time, it breakpoints it and shows the error as being half way along the viewstate, highlighted yellow... which is useless as its just gobbledegook.
How can I debug this? I want to know what javascript its t...
I have a JavaScript string containing HTML like this:
<div>
<div class="a">
content1
</div>
content 2
<div class="a">
<b>content 3</b>
</div>
</div>
and I want to remove the div's of class="a" but leave their content.
In Python I would use something like:
re.compile('<div class="a">(.*?)</div>', re.DOTALL).sub(r'\1', html)
...
Hello!
First of all: I'm new to Prototype JS Framework!
Until now I worked with jQuery.
In jQuery I am able to get an element by coding:
$('#myitemid .myitemclass').val()
html:
<div id="myitemid">
<input type="text" class="notmyclass" />
<input type="text" class="myitemclass" />
<input type="text" class="notmyclass" />
</...
Hello friends I m new for this thick box so some one can help me ...........
...
Hello!
I have searched this web looking for an answer, but it seems that this time I'm not so lucky, so I am forced to ask. I apologize if it's already answered (could not find it). And yes, English is not my first language, so I also apologize for my spelling mistakes, I try my best.
This is my problem, using Tomcat 5.5, Struts 1.3, J...
I am looking for a lightweight jQuery script for tooltips that is lightweight and can be easily used with image maps... Ideally it would automatically take the 'title' of each the area tag to function as a tooltip. The reason this is an issue is I have hundreds of areas (its a world map) and a line of code for each tooltip will soon add ...
Hi guys,
I need to invoke an event (for example - display alert) if a user presses on a link (not clicks) - and I don't want it to redirect him to another page. In other words - when a user clicks a link - everything is as usual but when the user presses the link, just the event happens (the alert is displayed) and the user will stay in...
Hi All,
I'm building a menu with topics and items.Each topic can be expanded and collapsed by clicking on it.My task is to make it possible to move through menu topics and items with the up and down arrow keys.I've done this already, but the problem is that when the page is bigger than the window, the page is scrolling when pressing the...
I was wondering what the best way is to calculate the difference in time from now to a certain point, lets say the countdown time.
I have an auction that has a closetime at a certain point, this time is stored in an mysql record in the format " DATETIME 00-00-000 00:00:00 ". This record is called closetime.
Now on my website i have a j...
In the page I'm working there are 2 divs vertically. Now I want to show the upper div always to the user and there would be scrollbar for the 2nd div (having a fixed height) as the content grows. Now the problem is at the right of this forced scrollbar for the 2nd div there is some space left for the normal scrollbar of the browser. Can ...
Hi,
I'm using the following javascript code to display xml/xsl:
function loadXMLDoc(fname)
{
var xmlDoc;
// code for IE
if (window.ActiveXObject)
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation
&& document.implementation.createDocument)
{
...
Do JavaScript objects/variables have some sort of unique identifier? Like Ruby has object_id. I don't mean the DOM id attribute, but rather some sort of memory address of some kind.
...
I use alert boxes to warn the user about errors when submitting a form on a website I am working on, but each time I click the "ok" button to close the alert box, the page go back to the top and I need to scroll down again to see the form.
I checked other website but this does not happen despite the code is pretty much the same.
What i...
I tried http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen/1125113#1125113,
but it's not working.
EDIT
I mean it should fill all of my computer by full-screen.
...
This snippet displays 1. Why is it so?
I use constructor as in new Date(milliseconds) //milliseconds since 1970/01/01. I expect it to be midnight, so 0 hours. But why does it return 1?
var milliseconds = 0;
var d = new Date(milliseconds);
alert(d.getHours());
...
I have an application which will post a message on a friends wall using the Facebook.streamPublish() method, and this works perfectly. However, I want to also be able to save details about this post in my database.
All the information that needs to be stored is placed into hidden form fields and are all in place once the message has be...
when my single IE instance is opened then minimized browser is blinking but while setting task bar property "Group similar task bar button" and if multiple IE instances opened then blinking is not working.
i have written follwoing code for this..
Response.Write("<script language='javascript'>");
Response.Write("var oldTitle = document....