On 21/02/07, Gaston Garcia <[EMAIL PROTECTED]> wrote: > Hi is there a way to set cookies with Jquery? Let's say someone > submits a form, I use jquery to process the form through ajax and > sends it to php... is there a way to create a cookie with jquery? > > Maybe in the ajax call I can send the data to PHP and set it through > PHP? > > Anyways, just wanted to know if I can do it directly with jquery. > > thanks everyone, > > > G.
There is a cookie plugin (documentation is in the comments): http://dev.jquery.com/browser/trunk/plugins/cookie/jquery.cookie.js?format=txt _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/