when set property enable = false for checkbox control in design time then after how to enable = true in javascript
-
Hello All, i have facing one problem i have one check box like below Now i want to Enabled = true in javascript not server side then how it possible i have try through below code but not woking please let me know how it possible. like, funcction enableAll() { var Checkbox = document.getElementById('<%=uxonechk.ClientID %>'); ConformOwnershipDropdown.disabled = false; } this above function i have call on dropdown "onChange" event Please let me know how it possible to Enabled = true using Javascript Thank you in advance,
Anish Patel
-
Hello All, i have facing one problem i have one check box like below Now i want to Enabled = true in javascript not server side then how it possible i have try through below code but not woking please let me know how it possible. like, funcction enableAll() { var Checkbox = document.getElementById('<%=uxonechk.ClientID %>'); ConformOwnershipDropdown.disabled = false; } this above function i have call on dropdown "onChange" event Please let me know how it possible to Enabled = true using Javascript Thank you in advance,
Anish Patel
You need to enable checkbox.right? try this in javascript, Findout CheckBox as chk by getElementById and then, chk.disabled = false; chk.parentNode.disabled = false; Let me know if any pblm is there.
Arun Jacob http://codepronet.blogspot.com/
-
Hello All, i have facing one problem i have one check box like below Now i want to Enabled = true in javascript not server side then how it possible i have try through below code but not woking please let me know how it possible. like, funcction enableAll() { var Checkbox = document.getElementById('<%=uxonechk.ClientID %>'); ConformOwnershipDropdown.disabled = false; } this above function i have call on dropdown "onChange" event Please let me know how it possible to Enabled = true using Javascript Thank you in advance,
Anish Patel
function ChkEnabled(){ var a = document.getElementById('<%=CheckBox1.ClientID %>'); a.disabled = false; if(a.parentElement.tagName == 'SPAN' && a.parentElement.disabled == true) a.parentElement.disabled = false; }
HTH
Coding C# ExciteTemplate
-
You need to enable checkbox.right? try this in javascript, Findout CheckBox as chk by getElementById and then, chk.disabled = false; chk.parentNode.disabled = false; Let me know if any pblm is there.
Arun Jacob http://codepronet.blogspot.com/
Thanks, it's working
Anish Patel