Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Here's a quick and dirty way to do it. I usually don't advocate inline scripts like this, but it will still teach you something:
HTML Code:
<tr>
<td> </td>
<td><input type="checkbox" name="CHKBOX_1" value="yes" onclick="if(this.checked){document.getElementById('submit').disabled = false;}else{document.getElementById('submit').disabled = true;}"></p>
<span class="style13">* I have read the terms & conditions of buying this link
</span></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" id="submit" name="submit" value="Continue To Payment Page" disabled="disabled" /></td>
</tr>
Note that I put an id="submit" on your submit button, as well as making it disabled by default.
Last edited by wayfarer07; 07-20-2009 at 05:00 PM..
|