Hi, I'm not a 100% sure if that's want you want, but take a look at (especially the examples):
http://docs.jquery.com/Ajax/jQuery.getJSON Cheers On 2 Jul., 14:35, DaNieL <daniele.pigned...@gmail.com> wrote: > Hi guys, i just leanerd the existence of the ajaxSubmit jQuery plugin, > im wondering if there is a way to use the JSON both to send and > retrieve the requests. > > I mean, no the plugin have the option 'dataType', that is used to > specify the format that the server will send back, but i need to send > the form as jquery to the server. > > For example, if my form looks like: > > <form name="mytest" action="mypage.php" method="get"> > <input type="text" name="firstone" id="firstone" value="here some > text!" /> > <input type="text" name="secondone" id="secondone" value="text in here > too" /> > </form> > > i'll love that the plugin will send a request like: > > mypage.php?mytest=[{'firstone':'here some text!','secondone':'text in > here too'}] > > Is it possible?