[jQuery] Re: Cookies with JQuery?

2007-07-20 Thread Su
http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ On 7/20/07, Danjojo [EMAIL PROTECTED] wrote: Am I able to set client-side cookies with JQuery? That would be REALLY great!! I could store the Language state in this cookie. $(function() { $(#languages).bind('change',

[jQuery] Re: Cookies with JQuery?

2007-07-20 Thread Danjojo
Got it using, Klaus's cookie plugin. $(function() { $(#languages).bind('change', function() { var country = $(this).val(); if(country) { $('#countryFlag').attr(src, images/ + country + .gif);