Error on webpage
Hi
I am running javascript in IE.. I got this error..
Webpage error details
Message: 'document.getElementById(...)' is null or not an object
Line: 77
Char: 8
Code: 0
URI: http://localhost:1684/MasterpageMWS/JScript.js
Message: Object required
Line: 97
Char: 6
Code: 0
URI: http://localhost:1684/MasterpageMWS/JScript.js
any one help me.
Ken BarrettPosted Oct 13, 2009, 12:29 PM
Rajeswari nathanPosted Oct 13, 2009, 2:43 AM
One Tips for that.
View the page source search that ID you can see some prefix will added with that id... you should add that id also with that getElementId..
moni moniPosted Oct 13, 2009, 2:40 AM
Rajeswari nathanPosted Oct 13, 2009, 2:34 AM
So please check all the control names with document.getElementById..
And one more thing for serverside control if you use
document.getElementById(Textbox1.UniqueId) It wont work
Change that also with Textbox1.ClientId
I think you catch my point...
moni moniPosted Oct 13, 2009, 2:30 AM
Rajeswari nathanPosted Oct 13, 2009, 2:25 AM