Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var curentValue = $.cookie("element");
- function set_prajiturica(curent){
- var value = $(curent).attr("rel");
- curentValue = curentValue + ';'+ value;
- $.cookie("element", curentValue);
- }
- $(document).ready(function(){
- console.log(curentValue);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement