View Full Version : document.getElementById not working in Mozilla firefox
MrFoz64
May 12th 2008, 1:52 pm
Hi
he following works in ie but not firefox
// Glass pattern
var glasspat = document.getElementById("glass").value;
document.budgetform.GlassPattern.value=glasspat;
Any ideas why
Cheers
crath
May 12th 2008, 6:30 pm
Are you getting any errors in your console?
hotmarket
May 12th 2008, 8:14 pm
Pls check whether here have reduplicate id or your define and your call is same!
gamini2006
May 14th 2008, 4:26 am
I also get the same thing.
In my case it give this Error message
"ErrorType : document.getElementById("catid") has no properties"
Plz giv me a help
Thx
crath
May 14th 2008, 5:25 am
Make sure this javascript is running AFTER the html has generated the objects on your page. This will make the object have no properties!
xrvel
May 14th 2008, 6:31 am
I also get the same thing.
In my case it give this Error message
"ErrorType : document.getElementById("catid") has no properties"
Plz giv me a help
ThxIt means the JS can not find the object with "catid" ID.
gamini2006
May 15th 2008, 1:37 am
Ya
I resolve the prb.
I hvnt given the object ID (ID = "catid")
thx to all
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.