How to disable button when checkbox is checked.vbscript
-
How to disable button when checkbox is checked and enable it when a condition is met using vbscript.
-
Answer:
Sub disableButton() If checkMultiple.value = 1 Then document.form1.cmdButton7.enabled = False End If End Sub Sub enableButton() document.form1.cmdButton7.enabled = False End Sub < i n p u t type="checkbox" name="checkMultiple" id="Multiple" onclick="disableButton )">Multiple
peggie at Stack Overflow Visit the source
Other answers
i tried the method but i got the object required "checkMultiple" error. Sub disableButton() If checkMultiple.value = 1 Then document.form1.cmdButton7.enabled = False ElseIf sum = 100 Then document.form1.cmdButton7.enabled = true End If End Sub Multiple
peggie
Related Q & A:
- How to disable a sharepoint 2010 list column through sharepoint designer?Best solution by SharePoint
- How to disable Netbeans highlighting?Best solution by Super User
- How to disable error message in file dialog?Best solution by Stack Overflow
- How to change color of radio button when checked radio button?Best solution by Stack Overflow
- How to draggable button background color to apply another button background?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.