I had tried this by using ('"+whatever+"' )
but IE giving me Unterminated string error....
User Profile
Collapse
-
Problem while Passing xml value into function
Hi,
JavaScript [CODE=javascript]..
var i=0;
basechem="<UL>" ;
while (i >= 0) {
basechem = xml.getElements ByTagName("base chemical")[i];
basechem = basechem.firstC hild.data;
basehtml += "<LI><a href=# onClick=passChe micalName("+ i +")>" + basechem + "</a></LI>";
[/CODE]
Here instead of...Last edited by pbmods; Jul 21 '07, 03:59 AM. Reason: Changed CODE language. Thanks for using CODE tags! -
pingalkar started a topic Passing element values from parent window to child popup window and vice-versain JavascriptPassing element values from parent window to child popup window and vice-versa
Hi,
In my application, I call one popup winodow by using this link..
[HTML]<a href="#" onClick="return showWindow('1', 'XYZ');">
<img src="images/magnifier.gif" ALT="Chemicals" width=18 height=20 border=0>
</a>[/HTML]
In this showWindow function....
[CODE=javascript]
var newWindow = '';
... -
How to read HTTP response header using javascipt
hi,
I want to read time from http response header , using javascript in Hr , Minute and Second form.
Pls help with code snipet.
thanks & regards,
Gajendra -
Recognising Browser refresh event and preventing to call save action
In my application, on one form i m getting information from user and save this information , after saving this information again we loading that page. (At this moment if any one try to refresh this page, then save action will call) this should not be happen. only data will save , when we click on the save button.
Why every refresh save action getting call and what is solution on this problem?
Is there any javascript method available... -
Problem in displaying TextArea message on page
Hi,
I just want to save textarea message in database and display on page.
When i insert message,
example 1) Hello
2) World
this message goes to database and when i trying to retrive this message, it show on one line that is, 1)Hello 2)World
How could i recognise '\r' and '\n' inside of data. And will display line by line as a orignal message
No activity results to display
Show More
Leave a comment: