Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 516.6k

Disable Delete Button

Aug 23 2024 1:50 PM

Hi

In below code i want i Status = Blocked then Delete Icon should be disabled.

htmlTable.Append("<td class='text-center'><a id='btnEdit' class='list-icons-item text-primary-600' data-toggle='modal' data-backdrop='static' data-keyboard='false' data-target='#modal_form_horizontal' onclick='BindData(this);'><i class='icon-pencil7 mr-1'></i></a> <a id='btnDel' class='list-icons-item text-danger-600' data-toggle='modal' data-target='#modal_Delete' onclick='BindData(this);'><i class='icon-bin mr-1'></i></a></td>");

Thanks


Answers (1)