how to disable/enable a specific button by jquery ( by name )?
The button does not have ID , just this code:
<button onclick="$('ChangeAction').value='SaveAndDoOrder';" value="Bye" name="SaveAndDoOrder" type="submit">
<i class="Icon ContinueIconTiny"></i>
<span class="SelectedItem">Bye</span>
</button>
I would recommend using ID instead of name, like:
This will add the
disabledattribute to the button which your browser will then automaticallly disable. If you want to use name you can use it like this: