you check which version of Netscape and Javascript you are using. Coz if you
are using javascript 1.2 most of the lower versions browser dont support it,
and some of the scripts are compatible only with Microsoft IE. Since they
support javascript 1.0.

So check which version of javascript u r using. Try in IE, whether your
script is running. If it is then change your script so that it runs on your
browser or upgrade your browser.


Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1059


-----Original Message-----
From: Atal Bihari Upadhyay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 9:31 PM
To: [EMAIL PROTECTED]
Subject: Re: How to read a node value in netscape 6.0.


Is this forum meant only for simple questions???
At least, I don't think so.
Pls help me out as I'm facing following problem since long.

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Atal Bihari Upadhyay
Sent: Thursday, July 11, 2002 9:53 AM

To: [EMAIL PROTECTED]
Subject: How to read a node value in netscape 6.0.


Hi All,

I am trying to read value of a cell (<TD>) of a table. In IE, innertText is
giving the cell value but innerText is not supported in Netscape browser.

ex.
document.getElementById("tablecontrol").getElementsyTagName("TR")[2].getElem
entsByTagName("TD")[2].innerText

where tablecontrol is id of table

will give value o the second cell of the of the second row of table.

In Netscape, I tried with nodeValue i.e.

ex.
alert(document.getElementById("tablecontrol").getElementsyTagName("TR")[2].g
etElementsByTagName("TD")[2].nodeValue)

It gives the value in some other format and blank is apprering in alert
message.

Can anybody tell me how can I get the value of the text inside cell.

Thanks in advance for all your help.

Regards,
Atal.



--------------------------------------------------------------
Computer Sciences Corporation India Pvt. Ltd., Indore, India

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



--------------------------------------------------------------
Computer Sciences Corporation India Pvt. Ltd., Indore, India

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to