intikhabk
asked on
outerText property not working in Javascript
outerText property works in Internet Explorer but does not work in Firefox. How to get it working in Firefox...what is the alernative in Javascript for Firefox...
ASKER
suppose i have a table
like
<table>
<tr>
<td>test1</td>
<td>test2</td
</tr>
</table>
how do i get test1 ...i nead a javascript code which will work in IE as well as Firefox
like
<table>
<tr>
<td>test1</td>
<td>test2</td
</tr>
</table>
how do i get test1 ...i nead a javascript code which will work in IE as well as Firefox
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
u people r really very good! hats off boss.
I have been wandering since hours for solution to this problem, and i was sure that i will get solution of my problem here only but i could not get any suggestion in search list of your site.
finally i got it!
thanks!
god is great
besides other reasons "coz he made u"
I have been wandering since hours for solution to this problem, and i was sure that i will get solution of my problem here only but i could not get any suggestion in search list of your site.
finally i got it!
thanks!
god is great
besides other reasons "coz he made u"
Because it is an IE property only. It is NOT a "standard" property. Instead of:
obj.outerText
try:
obj.parentNode.innerHTML