How to enable textbox when browser is refreshed
<p>The code below disables a textarea when trhe user has added the maximum rows it is allowed to add. The problem though is that lets say the user has added all the rows and the text area goes disabled, then if I click on the refresh button on the browser, then the textarea is still disabled, even though it should be enabled. So how can I get it so that if the user refreshes the page, then the textbox goes back to being enabled?</p>

<p>Below is code</p>

<pre><code>if (qnum &gt; &lt;?php echo (int)@$_POST['textQuestion']; ?&gt;) {
    return;
    $("#questionTextArea").attr("disabled", "disabled");
}
</code></pre>
