jeudi 9 mars 2017

CheckBox is Already Checked But Textbox isnt enabled

I have Used A function like CheckBox Checked Enable Textbox, It is working fine but On clicking edit button in grid view row A pop up appears with all row columns in edit mode but this check box isn't checked and textbox is not enabled

I have used web method to get all the rows of grid row and used a prop

[webmethod] $('<%=chk.clientid%>').prop('checked', obj.kmc) this is checking the checkbox but how to enable the text box

$('<%=txt.clientid').val(obj.txt); this should enable on row only if check box checked

any ideas??

help ??




Aucun commentaire:

Enregistrer un commentaire