Problem when try to get value of text box in javascript
-
i want to get text box value in my javascript function but my textbox visible=flase so i am not getting value in my function. Help ME
-
i want to get text box value in my javascript function but my textbox visible=flase so i am not getting value in my function. Help ME
Instead of setting
Visible
property setStyle = "display:none;"
Arun Jacob My Technical Blog : Code.NET
modified on Tuesday, July 13, 2010 6:37 AM
-
i want to get text box value in my javascript function but my textbox visible=flase so i am not getting value in my function. Help ME
Javascript will not identify hidden controls. You need to do following to achieve the same. 1. Keep textbox visible. 2. Define following css class.
.hidden { display:none; }
3. Assign your textbox the class as follow.
HTH
Jinal Desai - LIVE Experience is mother of sage....
-
Instead of setting
Visible
property setStyle = "display:none;"
Arun Jacob My Technical Blog : Code.NET
modified on Tuesday, July 13, 2010 6:37 AM
Thanks
-
Javascript will not identify hidden controls. You need to do following to achieve the same. 1. Keep textbox visible. 2. Define following css class.
.hidden { display:none; }
3. Assign your textbox the class as follow.
HTH
Jinal Desai - LIVE Experience is mother of sage....
Thanks It works
-
Thanks It works
for your attention when you set Visible="false" in server side it will not render in client side. if you want to check take View Page Source
Raju.M