Hi guys, first i hope u will understand me...
So i want to make a javascript to be shown if somebody chooses option A to show the javascripts for the A1,A2,A3 and if they choose B to show javascripts for the B1,B2,B3. So the A and B it will firstly asked as options from a <select> tag
eg.
I'm already using this way of javascript (Error Alerts):
So i want to make a javascript to be shown if somebody chooses option A to show the javascripts for the A1,A2,A3 and if they choose B to show javascripts for the B1,B2,B3. So the A and B it will firstly asked as options from a <select> tag
eg.
Code:
<select name="AorB" > <option value="" selected="selected">Select...</option> <option value="A" >Option A</option> <option value="B" >Option B</option> </select>
Code:
<SCRIPT language=JavaScript> <!-- function check(form) { if (form.Password.value == "") { alert("Please enter your Password."); form.Password.focus(); return;} if (form.Password.value.length < 8) { alert("Please enter a valid Password."); form.Password.focus(); return;} form.submit() } //--> </SCRIPT>
Comment