[jQuery] Hide DOM when clicking outside it? (Newbie Question)

2008-07-17 Thread Doover
I have a simple menu which are shown when you click on a link. Is it possible to hide the menu when I click outside it? Any help are appreciated. Thanks.

[jQuery] Re: Insert new DOM element with new ID (index)?

2008-07-17 Thread Doover
Thank you very much for your reply. It works when I added the index function: "$('.new').livequery('click', function(index)" but I get "Object object 2" instead of a new number each time I click on the link. How can I fix that? Thank you very much. On Jul 16, 7:29 pm, spicyj <[EMAIL PROTECTED]>

[jQuery] Insert new DOM element with new ID (index)?

2008-07-16 Thread Doover
Hello. I trying to do a function that add a li element with a new number (index) each time a link is clicked. The current jQuery code looks like this: $('.new').livequery('click', function() { $('.item')

[jQuery] Re: Load specific id on click

2008-06-25 Thread Doover
Thank you so much for this! :) On May 29, 11:48 pm, IschaGast <[EMAIL PROTECTED]> wrote: > After some searching I found the solution: > > $('#content_main div.weblog_archive li a').livequery('click', > function(event) { >         $('div.article_ajax').load($(this).attr("href") + ' div.article');

[jQuery] How to display Select menu value in DIV?

2008-06-09 Thread Doover
Hi. I'm new to jQuery and wonder how I can make a DIV automatically updated with the selected value from a select menu? The DIV should be updated onchange. I've tried the .serialize method but it displays a whole phrase (I just want the value). One Two Three Four Five Thank you a lot.

[jQuery] How to display Select menu value in DIV?

2008-06-09 Thread Doover
Hi. I'm new to jQuery and wonder how I can make a DIV automatically updated with the selected value from a select menu? The DIV should be updated onchange. I've tried the .serialize method but it displays a whole phrase (I just want the value). One Two Three Four Five Thank you a lot.