I know, i know - use google search etc.. Belive me, I have!
basics: Prototype is maybe the best tools on earth? Ok, i call it in my head.
<script language="JavaScript" type="text/javascript" src="./js/prototype.js"></script>
the I add my form:
<form name="myform" action="doquery.php" method="post"> <input type="text" id="myname" name="myname" /> <input type="text" id="mylastname" name="mylastname" /> <input type="submit" id="submit" name="submit" value="Submit" /> </form>
I know littlebit how AJAX submit works so I create file (doquery.php) where is only query which will insert my new information into the database right?
What I'm looking for is that what I need to do that I can submit this via AJAX. No page reloads and showing information (lets say bottom of that form) that information is added into the database??
What if I have more that one form in same page? Form validation (ex. email validation and no empty fields)?
Thanks SOO much for all help! =)
Edited by Marxx, 20 November 2007 - 07:26 AM.
