I would like to call this function that is called all imput by id="inviardesb"
and exchange them for all input that has <div class="classchama">
As I call this function div
<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();
});
}