0
would like to call this function that is called all imput by id="inviardesb"
and exchange them for all input you have <div class="classchama">
as I call by div this function
<div class="buttons">
<div class="classchama">
<input type="submit" class="button" value="Cadastrar produto" id="inviardesb">
</div>
</div>
Live.disableDataSubmit = function() {
$("#inviardesb").on('click', function (event) {
$(this).attr('disabled', true);
$(this).parents('form').submit();
});
}
Could be more specific?
– user83428
I think Voce wants all the buttons of a certain class by clicking on any of them to call a function, and this?
– user83428