|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
QUERY: childNodes[0] not working in FF :(
I have a table row structured like this (mind the XSL variable):
<tr> <td> <input type="hidden" value="0"/> <input type="hidden" value="{$RecNum}"/> </td> </tr> and I have been using JavaScript like: var tr = document.getElementById(this.Table).rows.item(i + 1); if(tr.childNodes[0].childNodes[0].value == 1 || tr.childNodes[0].childNodes[0].value == 2) { } This works perfectly fine in Internet Explorer. But in Mozilla Firefox I get: tr.childNodes[0].childNodes[0] has no properties Somehow childNodes, obj.parentElement, etc are not working anymore in Mozilla Firefox. Is the DOM tree syntax totally different between IE and FF? Please can someone help. |
|
#2
|
|||
|
|||
|
Please don't post the same question on multiple forums on the same day.
Here's the link Kor gave you in his response of DevShed Forums. |
|
#3
|
|||
|
|||
|
Quote:
Sorry, I thought devarticles and devshed are two different forums. But in future I'll try to remember to post only to one of them. I assume you are telling me that they are the same forums? |
|
#4
|
|||
|
|||
|
No, I was not implying that. They are separate but are part of the same network. DevArticles Forums are much lower traffic than DevShed Forums.
Anyway my point is that there is no good reason to have multiple groups answer the same question from the same person on the same day. Please don't waste people's time like that. If one forum doesn't give you a good answer in about 24 hours, then try asking on another one -- give people a chance to respond before asking in multiple places. If you feel like you deserve quick answers, then perhaps you should hire a consultant. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > QUERY: childNodes[0] not working in FF :( |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|