I need to change the height of a textbox using J-query. I need to write this code in an external .js file. How do I access textbox height in J-query in the external .js file?
views:
197answers:
2
+1
A:
You can access it the same way in the inline code:
$('#<%=mycontrol.ClientID%>')
Marwan Aouida
2009-05-18 10:41:37
+1
A:
It doesn't matter that your js is in an external file, you'd write it the same way inline or external.
If the textbox has an ID you can use:
$("#Textbox1").height();
Fermin
2009-05-18 10:43:22