hi,
could someone help me with my problem please.
I used javascript code from this site called ajaxpagefetcher.js for cloading content of div clicking on menu by a href.
It work perfectly but I don't understand why callback generated form doesn't work like normal form. I mean if I call my php generator of form directly form work fine but if I call it by ajax way it doesn't
.
here is my generated code :
could someone help me with my problem please.
I used javascript code from this site called ajaxpagefetcher.js for cloading content of div clicking on menu by a href.
It work perfectly but I don't understand why callback generated form doesn't work like normal form. I mean if I call my php generator of form directly form work fine but if I call it by ajax way it doesn't

here is my generated code :
Code:
<form name="myForm" method="post" action=""> <table > <tr><td >Name</td><td><input type='text' name='Name'></td></tr><tr><td >ICO</td><td><input type='text' name='ICO'></td></tr><tr><td >Type</td><td><select name='Type'><option value=1>PO</option><option value=2>FO</option></select></td></tr><tr> <td> <script language="JavaScript" type="text/JavaScript"> function doSubmit () { myForm.pressedSubmit.value = "y"; myForm.submit(); } </script> <input name="tablename" type="hidden" id="myTablename" value="subjects"> <input name="numrows" type="hidden" id="tablename" value="8"> <input name="pressedSubmit" type="hidden" id="pressedSubmit"> </td> <td><input name="Submit" type="button" value="Submit" language="javascript" onclick="doSubmit()"></td></tr> </table> </form>
Comment