Results 1 to 4 of 4

Thread: jQuery Cookies plugin

  1. #1
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default jQuery Cookies plugin

    Hi, I want to use cookies with a script I wrote with jQuery but I don't know which plugin to use. I have found these two:
    http://plugins.jquery.com/project/cookies
    http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/

    Since I don't know much JavaScript and I only started with jQuery a couple of weeks ago I don't really know what to look at. Which cookies plugin would you use with jQuery?
    Last edited by Snookerman; 04-21-2009 at 07:00 AM. Reason: added "Resolved" prefix
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    We won't know which you should use until you tell us what script you made.
    Jeremy | jfein.net

  3. #3
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    They both do the same thing, but the first one has multiple functions (get, set, del) and the second has one function (cookie). Also the first plugin has extra features, such as test if the browser is accepting cookies, or you can 'bind' an input to a cookie (more on that here). Ultimately it is your choice.
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@ /\/\@|{
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  4. The Following User Says Thank You to Master_script_maker For This Useful Post:

    Snookerman (12-26-2008)

  5. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    I posted the script in this thread since I'm having some problems with it:
    http://www.dynamicdrive.com/forums/showthread.php?p=176966#post176966

    What I need the cookies for is to save the results (points, breaks, etc) so they don't disappear when the user refreshes the browser. Thanks for your help!
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •