Raffael Luthiger wrote:
> 3) Every time the page is loaded the js-script asks the server for a XML 
> (or JSON) file with the preferences in there.
>   
Option 3, but save the data you got from the server in a cookie, which 
you destroy after 1 day or something like that. Each time the user 
changes the div, a new cookie is set and data is send back to the 
server. This saves you half in traffic and is the best solution if you 
ask me.

Gilles

p.s. there is a jQuery cookie plugin :p

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to