There are two forms: in one search, in the other limit the output of results.

<form></form> <div id="vivod"></div> <form></form> 

How to send the script parameters from both forms when clicking on a submit in one of them?

    2 answers 2

    The second form is not needed, you can bind the inputs outside the first form to the form, specifying its id in the form attribute of the input http://htmlbook.ru/html/input/form

    • what I need, thank you, otherwise they have demagogy here ... - DarkVss
    • @DarkVss, then your question is not properly formed;) - Visman
    • Too bad IE 10+ .. - borodatych
    • Forms can not be used at all =) in order to avoid botovodov and kravlerov and better to draw them on the client =)) - And

    When you click any submit via js, take data from all fields of both forms and send them to the server via ajax.

    • need without Ajax - DarkVss
    • Why then two forms? Maybe one is enough? Then the question will disappear by itself - BOPOH
    • if you make a <form> <div> </ div> </ div>. The styles stop working. And I change the presentation in general, and deal with the designer. I don’t have access to the styles.
    • this is all a joke that you need two .. - DarkVss
    • Or two forms and ajax, or one form and style. No other options come to mind. - Visman