Answer the question
In order to leave comments, you need to log in
How to add domain to $.cookie?
There is this jQuery code:
$.cookie('jpn', true, {
// Время хранения cookie в днях
expires: 7,
path: '/'
});
Answer the question
In order to leave comments, you need to log in
$.cookie('jpn', true, {
// Время хранения cookie в днях
expires: 7,
path: '/',
domain: 'site.name',
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question