I have used Disabled class on button click but if the cursor goes in this button that time disabled icon displayed but functionality is working I don't want work this functionality of that disabled button
please help me.
- @{
- if (Session["Role"].ToString().Equals("Head"))
- {
- if (check.IsActive == true)
- {
- <td>
- <button type="button" class=Delete "btn btn-success disabled" href="javascript:;">Enablebutton>
- td>
- }
- else
- {
- <td>
- <button type="button" class=Delete "btn btn-danger disabled" href="javascript:;">Disablebutton>
- td>
- }
- }
- else
- {
- if (check.IsActive == true)
- {
- <td>
- <button type="button" class="Delete btn btn-success" href="javascript:;">Enablebutton>
- td>
- }
- else
- {
- <td>
- <button type="button" class="Delete btn btn-danger" href="javascript:;">Disablebutton>
- td>
- }
- }
- }