I have a form which uses JS to do some things when the user clicks the submit button. I want to disable the form and hide it if the user does not have JS enabled. I thought I could do it like so:
<form style="display:none;" onLoad="this.style.display='inline'">
Text
<input type="text">
</form>
<noscript>Noscript stuff here</noscript>
However, it doesn't work. Since I don't really use JS, I'm probably just making an embarrassingly obvious mistake, and I'm going to take a guess and say that it has something to do with the "this" part.