Good day, I have a small problem, I hope you can help me: I have a form in ASP.Net, where the user's data is loaded, these fields are disabled so that they can not be edited, but I have a button with which to enable them, the problem is that when clicking this it does not work ..
This is my button:
<asp:LinkButton runat="server" ID="empEdit" class="btn btn-primary" ClientIDMode="Static"><span class="glyphicon glyphicon-pencil" ></span> Editar</asp:LinkButton>
this my jquery code:
$('#empEdit').click(function () {
$('[id^=emp]').removeProp('disabled');
});
the id of the fields start with "emp", I put the static ids in asp so that they do not change when loading the page in the browser with ClientIDMode="Static"
and even then it does not work ...