Quiero schrieb: > 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.
Hello G., you can use the cookie plugin... a little explanation here: http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ More documentation inline and also included in Visual jQuery. Source here: http://dev.jquery.com/browser/trunk/plugins/cookie/jquery.cookie.js?format=txt -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
