See
http://plugins.jquery.com/project/cookie
- Richard
On Tue, Dec 1, 2009 at 9:55 PM, shapper wrote:
> Hello,
>
> I need to add a cookie with value "true" or "false".
> If the cookie does not exist then created. Otherwise change its value
> to the new value.
> Later I need to get the cookie v
Hello,
I need to add a cookie with value "true" or "false".
If the cookie does not exist then created. Otherwise change its value
to the new value.
Later I need to get the cookie value.
Can I do this with JQuery? Do I need a plugin? Which one?
Thank You,
Miguel
Hello,
I am using JPlayer plugin with 2 buttons. Play and Stop.
$("#jquery_jplayer").jPlayer({
ready: function () {
$(this).setFile('http://mydomain.com/mymusic.mp3').play();
demoInstanceInfo($(this), $("#jplayer_info"));
I am unsure of where to start with this one, and so I'm hoping one of
you good people will be able to assist.
I am using Liferay, and on the calendar settings there is a value
called "event-selector". At present when you click to view events, the
default is always the top value "All Events". What
ight after the user
logs in.
I have a lead that maybe the jQuery Cookie plugin could help, but I
have absolutely no experience with jQuery.
I wonder if anyone here would be interested in having a look at this
and if there is a solution?
The code used in the plugin is:
var $j = jQuery.noConfl
That was it! And it makes total sense - thanks much for the extra set
of eyes, you rock!
On Jul 23, 5:22 pm, James wrote:
> Inside the textResize() function, on the first line try adding:
> level = parseInt(level);
>
> I'm thinking when you're manually calling textResize, you're doing
> somethi
Inside the textResize() function, on the first line try adding:
level = parseInt(level);
I'm thinking when you're manually calling textResize, you're doing
something like:
textResize(3);
But when you're doing it through the cookie, it's not an Integer, it's
a String:
textResize("3");
Your switc
Hello all,
I'm doing a text resizer with a cookie to remember the font size
level. I'm running into a little problem and was wondering if someone
sees something obvious I'm missing. The cookie is being set/read OK
and the text resizer works when triggered manually, but it's not being
executed on
Hello
This function works with the jquery cookie plugin
(http://plugins.jquery.com/project/cookie) and code from here
(http://www.komodomedia.com/blog/2008/07/using-jquery-to-save-form-details/)
$(document).ready(function(){
remember('[name=field_name]');
});
It remembers the i
Did you try
$.cookie('the_cookie', 'the_value', { expires: 7 }); // expires after
7 days
?
The expires option will also accept a Date object.
--Klaus
On 8 Jun., 20:27, Richard Walsh wrote:
> Hey guys, I'm working on a project where I am using the jquery plugin
> that Klaus made. The cooki
Hey guys, I'm working on a project where I am using the jquery plugin
that Klaus made. The cookie works very well with the exception that
when the user closes the browser the cookie expires. I've been trying
to figure out how I can set the var for expiry so that this doesn't
happen but I am at a l
I searched and found this thread...
http://groups.google.com/group/jquery-en/browse_thread/thread/f118475a14a5245a/e60e972d364f11d0?lnk=gst
which is very helpful for list
based menus with a need for a current state.
But I have a similar request that I hope to solve with your help.
I have a horiz
Dear folks,
My system is working with AJax and I need to save some of my data with
Cookies as you all know I have to handle this with javascript cookie
and Server Cookie both when I call the AJAX I change the Value of
the Cookie then when the AJAX loads the Server PHP file it recognizes
the Co
I have a draggable menu which remembers its position using a cookie. I want
to use this menu all over my site and just use the 1 cookie to read from. It
works at first if I drag the menu on the main page and go to a subpage but
when I move it on the subpage it appears a new cookie is made with a
I have a draggable menu which remembers its position using a cookie. I
want to use this menu all over my site and just use the 1 cookie to
read from. It works at first if I drag the menu on the main page and
go to a subpage but when I move it on the subpage it appears a new
cookie is made with a n
On 4 Dez., 14:01, Leandro Vieira Pinho <[EMAIL PROTECTED]>
wrote:
> Yes Klaus,
>
> The code is ok, but the cookie isn´t deleting, and I don´t know why?
I don't know either. Works for me. Maybe something is wrong with the
cookie name. Or some JavaScript error on the page. I can only guess...
--Kl
Yes Klaus,
The code is ok, but the cookie isn´t deleting, and I don´t know why?
I have tried in FF and IE 6
Regards
On Dec 4, 8:16 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On 4 Dez., 00:34, Wizzud <[EMAIL PROTECTED]> wrote:
>
> > Try setting expires to a negative number to delete the cooki
On 4 Dez., 00:34, Wizzud <[EMAIL PROTECTED]> wrote:
> Try setting expires to a negative number to delete the cookie.
If the value is null, the value of expires doesn't matter at all. Of
course it is obsolete in the function call.
That's strange. I can't see anything wrong with the code and it
co
Try setting expires to a negative number to delete the cookie.
On Dec 3, 5:50 pm, Leandro Vieira Pinho <[EMAIL PROTECTED]>
wrote:
> Hi Guys,
>
> I´m working with this piece of code:
>
> $(this).toggle( function() {
> $(this).children().slideToggle('fast', f
Hi Guys,
I´m working with this piece of code:
$(this).toggle( function() {
$(this).children().slideToggle('fast', function()
{ $.cookie('_wp_el_' + i, i, { expires: 30, path: '/', domain:
'leandrovieira.com' }); });
}, function() {
I'm using the cookie plugin. And, I have created 4 cookies with it
and they are named:
Expanded[1]=3
Expanded[2]=18
Expanded[3]=27
Expanded[4]=37
I also keep a count of the number of cookies that have been created
and the name of this cookie is this:
onExpandCount=4
How do I loop through the
Hi People,
I would like to know whether some of you have information about cookie
management with jquery and json. In fact, for the moment, I have a
function that returns a js hash table containing information about
each box ( its column number and rank in the column) on my page. The
boxes are dr
Hi all,
I have some code that checks for a cookie named sumview. if the value
is 'hide' I dont want to display a div with id viewsummary. Problem is
that the summary div is in the page that loads from an ajax request
using the form plugin. The ajax loaded page ignores the cookie. Do I
need to ch
23 matches
Mail list logo