jQuery Plugin for Cookie Handling - jCookie

File Size: 16.3KB KB
Views Total: 1109
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin for Cookie Handling - jCookie

jCookie is a jQuery plugin for creating , updating, deleting, and reading cookies using an convenient API.

How to use it:

1. Include jQuery library and jCookie.js

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="jcookie-min.js"></script>

2. Call the plugin

// Create & Update Cookies
<script>
    jQuery.jCookie('cookie','value');
</script>

// Delete
<script>
    jQuery.jCookie('cookie',null);
</script>

// Read
<script>
    jQuery.jCookie('cookie');
</script>

This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.