vishalmarya
Programmer
- Aug 19, 2001
- 28
how can i set Height and width of an html control from javascript ?
say i have a button h_btn1
<script language="javascript">
document.Form1.h_btn1.Width="300px";
alert(document.Form1.h_btn1.Width);
</script>
alert box is shown with width as 300 , but visually it does not change.