...

View Full Version : Interesting one!



ranjitcool
04-20-2005, 02:01 PM
hi

i kept an online exam in my website.......

i want to display the SUBMIT button only when the user selects a option (in here radio button)

please give me the script a simple one for this...


i am waiting eagirely

thanx

bye

glenngv
04-21-2005, 02:47 AM
<body onload="document.frm.btnSubmit.style.display='none'">
<form name="frm">
<input type="radio" name="rad" value="1" />Option 1
<input type="radio" name="rad" value="2" onclick="this.form.btnSubmit.style.display='inline';" />Option 2
<input type="submit" name="btnSubmit" value="Submit" />
</form>
</body>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum