Enable disable click button function using JQuery

In Script:-

if(searchComponent.device_address.toString()!=""){
  $('#rowFirmwareAction').removeClass("disable_a_href");
}
else{
  $('#rowFirmwareAction').addClass("disable_a_href");
}

In CSS:-

.disable_a_href 
{
pointer-events: none;
opacity: 0.5;
}

IN HTML (Bootstrap):-

<div class="row disable_a_href" id="rowFirmwareAction">
 <div class="col-md-12">
  <a class="btn btn-success btn-lg btn-block" id="start">Start</a>
 </div>
</div>