This is a discussion on "document.getElementById("userProfileCheck") is not working in Mozilla Firefox" within the JavaScript Forum section. This forum, and the thread "document.getElementById("userProfileCheck") is not working in Mozilla Firefox are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
document.getElementById("userProfileCheck") is not working in Mozilla Firefox
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
hi..
document.getElementById() is not working in FF this is my code.. function MasterSelectAll(mas_exp) { select=(document.getElementsByTagName('img').item( getTagSelectID("master_expander", "img")).src); if(view) { var form = document.forms[0]; alert(document.getElementById("userProfileCheck")) ; //this returns null document.getElementById("userProfileCheck").checke d=true; //error here var j=1; for(var i=0;i<form.elements.length;i++) { if(form.elements[i].name!='stepId' && form.elements[i].name!='save' && form.elements[i].name!='userProfileId'){ selectAll(form.elements[i].name,"select_expander"+j,mas_exp); if(j==5) { break; } j++; } } view = false; } } am getting following error FF : Error: document.getElementById("userProfileCheck") has no properties anyone suggest me how to solve this. bye |
|
|
|
|||
|
Re: document.getElementById("userProfileCheck") is not working in Mozilla Firefox
I suggest you check the original thread you started. There are people trying to help you there.
|
![]() |
| Tags |
| getelementbyid |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "overflow: hidden" not working on firefox when the div contains flash inside | littleshaolin | Web Page Design | 0 | May 21st, 2008 05:27 |
| document.getElementById("tabs") has no properties | afmanuk | JavaScript Forum | 3 | Sep 7th, 2007 19:11 |
| document.getElementById is not working in Mozilla Firefox | dhineraj | JavaScript Forum | 3 | Jul 20th, 2007 02:31 |
| document.getElementById[objectID].style now working on Mozilla Browser | yogeshid | JavaScript Forum | 1 | May 25th, 2007 09:30 |
| window.opener.document["nameForm"].getElementById("someid").value; doesnt work | drpompeii | JavaScript Forum | 0 | Feb 17th, 2007 23:09 |