This is a discussion on "document.getElementById is not working in Mozilla Firefox" within the JavaScript Forum section. This forum, and the thread "document.getElementById is not working in Mozilla Firefox are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
document.getElementById is not working in Mozilla Firefox
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
document.getElementById is not working in Mozilla Firefox
in my web application am using this following method
document.getElementById(''name") ; this not working in Mozilla Firefox but its working fine in IE. following errors occurs in mozila Error: document.getElementById("name") has no properties any one suggest me how to solve this... |
|
|
|
|||
|
Re: document.getElementById is not working in Mozilla Firefox
what properties are you accessing? and for some reason i'm thinking you're supposed to put the ID value in single quotes... might be wrong, but i think i've had to do that a few times.
could you put up the rest of the code? i might be able to help more |
|
|||
|
Re: document.getElementById is not working in Mozilla Firefox
Yeah post up your full code and the html if you can. That would be helpful.
Pete. |
|
|||
|
Re: document.getElementById is not working in Mozilla Firefox
I thought it may have been the double quotes. However I tested it and it seems to work fine either way. The following code worked for me in IE6 and FF.
|
![]() |
| Tags |
| getelementbyid, is not working |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help using document.getElementById | jonnymorris | JavaScript Forum | 3 | Mar 28th, 2008 22:52 |
| document.getElementById and document.getElementByName is not working in FF | dhineraj | JavaScript Forum | 3 | Jul 26th, 2007 20:23 |
| document.getElementById("userProfileCheck") is not working in Mozilla Firefox | dhineraj | JavaScript Forum | 1 | Jul 20th, 2007 05:32 |
| document.getElementById[objectID].style now working on Mozilla Browser | yogeshid | JavaScript Forum | 1 | May 25th, 2007 09:30 |
| new problem. document.getElementById().width returning unassigned. why? | sanchopansa | JavaScript Forum | 2 | Jul 22nd, 2006 20:23 |