1
javascript variables that reference each field of my form
var checkbox = $('input:checkbox[name^=check]:checked');
var categoriaVeiculo = $("#codCategoriaVeiculo").val();
var descricaoVeiculo = $("#descricaoVeiculo").val();
var placaVeiculo = $("#placaVeiculo").val();
var chassiVeiculo = $("#chassiVeiculo").val();
var anoFabricacaoVeiculo = $("#anoFabricacaoVeiculo").val();
var ativo = $("input:radio[name='ativo']");
var value = ativo.filter(":checked").val();
var codPessoa = $("#codigoPessoa").val();
You can do
form.reset();
Is that what you’re looking for? If you can’t explain the question better?– Sergio
The question is far from clear so that it can be answered properly.
– Zuul