I'm quite new to AJAX and need some help on a peculiar firefox behavior regarding forms submission.
I have have an input field
...<td id="ajax_field"><input type="text" name="hobby"></td>...
I am adding an option to change this <input> to <select> if the user wishes to choose from a list instead. so i have
<a href="#" onclick="show_input()">new hobby</a>
<a href="#" onclick="show_select()">choose from list</a>
after the information is entered and submit <input type="submit"...> is clicked, everything goes as expected in IE7.
However in firefox 2, it doesn't. When I change to
<form method="GET" action="process.php"...>
I realised that the AJAX created fields are not passed on to the "process.php".
How can I make this work?
Thanks in advance.