How can I get data from all existing forms on a page? I have a form with the name "budgets" that I can send the fields but I have at least three more that are inserted via include and the fields of these forms I can not retrieve.
I would like to pass all fields regardless of the name.
Before I was doing this:
document.orcamentos.submit();
This sends all form data with the name "budgets", then trying to send all fields regardless of name I tried this:
$("form").submit();
But it sends the fields of the form "budget" and of the others inserted by include not.
var sVazaoEta = $("#Vazao_eta").val();
var sTipoVazaoEta = $("input[name='TipoVazao_eta']:checked").val();
var sFiltrosEta = $("input[name='Filtros_eta']:checked").val();
Is there any possibility of passing these variables to the detail page that is triggered by the form submit, since I'm using the:
$("form").submit();