here is the my code;
Loading data from database my buttons,after loading finished,I want to trigger some client script,.in my senario,after clicked the first button ,want to disable clicked button, and enable the secon button(clickable element) I am able to disabled fisrt button, I couldnt enable secont button though **
First button
<button type="button" class="btn btn-default"
onclick="
var resetbtnid = '#m-' + $(this).attr('id'); //I am getting
$(this).prop('disabled', true);
$('#resetbtnid').removeAttr('disabled');
"
name='<%# DataBinder.Eval(Container.DataItem,"Fiyat") %>'
id='<%# DataBinder.Eval(Container.DataItem,"Id") %>' >
<span class="glyphicon glyphicon-ok-sign"></span></button>
Second button
<button type="button" disabled="disabled" class="btn btn-default"
id='m-<%# DataBinder.Eval(Container.DataItem,"Id") %>'
name='<%# DataBinder.Eval(Container.DataItem,"Fiyat") %>' >
<span class="glyphicon glyphicon-minus-sign"></span></button>