Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".cookieul").on("click",function(){
- var a ='';
- var myCookies = [];
- var newValue = $(".client option:selected").text();
- a += newValue;
- myCookies.push(a);
- $.cookie("example", JSON.stringify(myCookies), { expires: 7 });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement