This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - document.getElementById("title") cannot work in client side

lena - Monday, January 6, 2014 4:33 AM:

I want to get the object of  a textbox in client side. so I writte like this:

 vat title=document.getElementById("title");

but it produce an error:"null" is null ,it is not an object;

why I cannot get reaction from the form. It always say  null. but i really createa textbox named  title. It happened same in other textbox.  Is there anyting I have missing?it is good in visual studio project.

Please help , I study this for a long time , it really make me headache.