[Javascript] Re: Getting frame height and width
Josiah Gordon
jgordon at directfile.com
Thu Jun 14 14:38:47 CDT 2001
No problem. Style sheets can do anything :-).
Try this for IE:
<html>
<body>
<form id="f1">
<p><textarea name="S1" style="height: 400px; width:
400px;"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
<button onClick="javascript:document.forms[0].elements[0].style.width =
800">Bang Your Head Here!</button>
</form>
</body>
</html>
--Josiah Gordon
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.261 / Virus Database: 131 - Release Date: 6/6/2001
More information about the Javascript
mailing list