Hi All I am new to Php .If Anyone can help with my query . How can i pass a parameter to another php form one php without submitting the form .
If you only want to submit the form without pressing the submit button..if this is the case.. you can call form.submit() in js on any event...
^^ without submitting... you can use simple js like <script type="text/javascript"> function copy_to_form2(input) { var form2 = document.forms['form2']; form2.elements['input2'].value = input.value; // or form2.input2.value = input.value; } </script> <form action="" name="form1"> <input type="text" name="input1" onblur="copy_to_form2(this);" /> </form> <form action="" name="form2"> <input type="text" name="input2" /> </form> Code (markup):