To hide check boxes that has been checked in JavaScript do the following:
1.Right click on the HTML file that you want to edit and then select the option "Open With." and select the HTML or JavaScript editor that you have
2. In the HTML code type the following:
<script type="Text"> </script>
Put all your JavaScript code within the tags
3.To create a function to hide the check box add the following code:
function hideChckBox(chkbox) {
if(chkbox.checked) {
chkbox.style.visibility = "hidden";
}
}
4.add the following code to call the function you just created:
OnClick="javascript: hideChkBox(this)"
Hiding Check Box in JavaScript
To hide check boxes that has been checked in JavaScript do the following:
1.Right click on the HTML...
hiding check box javascript
&nsbp;
Also tagged with one or more of these keywords: hiding check box, javascript
Web Design →
Javascript →
Comparing Strings in JavaScriptStarted by Salwa, 18 Jul 2013 comparing strings, javascript |
|
|
||
Web Design →
Javascript →
Using OnSubmit in JavaScriptStarted by Salwa, 18 Jul 2013 javascript, onsubmit event |
|
|
||
Web Design →
Javascript →
Downloading Javascript to iPodStarted by OneDes, 13 Jun 2013 downloading, javascript, to ipod |
|
|
||
Web Design →
Javascript →
Downloading JavaScript to BlackBerryStarted by OneDes, 13 Jun 2013 downloading, javascript and 1 more... |
|
|
||
Web Design →
Javascript →
Enabling JavaScript on a MacStarted by OneDes, 13 Jun 2013 enable, javascript, mac |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users