I want to disable the image button inside the anchor tag using jQuery. my requirement is, the button should be disabled before filling the all form fields.
<form name="signupFrm" id="signupFrm">
<input type="text" />
<a href ="javascript:void(0)" class="btnspc1 continueBtn submit"> <img src="images/continue-button.png" alt="jio money"/></a>
</form>
I tried in the following way, but no luck
$form = $('#signupFrm'); // cache
$form.find('a.submit img').prop('disabled', true); // disable submit btn