1. Passing "classtype" as "this" argument of "class member function" disc
2. enable/disable "radio","checkbox","textbox" using checkbox
Hi am trying to control a small form having a main checkbox(using
javascript) - which when checked will enable the other form elements
(like radio button,checkbox, textbox)
By default all the form elements should be disabled (except the main
checkbox)....so when the main checkbox is checked by the user ...all the
other form elements should get enabled.
I am able to control (enable & disable) the textbox elements in the from
but failed to control the radiobutton,checkbox.
here is the script can someone help me in modifying the script so that i
can use it.
<html>
<head>
<title>untitled</title>
</head>
<body>
<form>
<input type="checkbox" onclick="bVal=!this.checked;
email1.disabled=bVal;email2.disabled=bVal;msex.disabled=bVal;mred.disab-
led=bVal;mblue.disabled=bVal;if(!bVal)email1.focus()"> Click the
checkbox and fill the information below<br>
<br> Text boxes <br>
<input type="text" name="email1" disabled="disabled"> email address<br>
<input type="text" name="email2" disabled="disabled"> 2nd email
address <br>
<br> Radio buttons <br>
<input type="radio" name"msex" value="Male" disabled="disabled"> Male
<input type="radio" name"msex" value="Female" disabled="disabled">
Female <br>
<br> Checkboxs <br>
<input type="checkbox" name"mred" value="Red"
disabled="disabled"> Red <br>
<input type="checkbox" name"mblue" value="Blue"
disabled="disabled"> Blue <br>
</form>
</body>
</html>
Posted via http://www.yqcomputer.com/
4. Can classes "make" controls and indicators "appear" on the front panel.
5. The .NET assembly expected to be at "" was loaded from "NULL"
6. How to convert "hist" to "pdf"?
7. Why do I get "../images/" and "../../images/"
8. Difference between "FP Close" and "FP Hidden"
9. The use of the "XY graph" with the "Read Traces"
10. Why do I get "../images/" and "../../images/"
11. Percentage of "yes" or "no"
12. How to use "GetLastInputInfo" in "user32.dll"
13. Trouble using Real Time "Wait" and "Wait until"
14. Re : what's faster: "i/o assistant" or "basic visa VIs"
15. what's faster: "i/o assistant" or "basic visa VIs"