[jQuery] Re: Capture a click outside of a specific object?

2009-01-15 Thread vincent voyer
You can do : $(document).bind('click', function(e){ var $clicked = $(e.target); if (!($clicked.is('#element') || $clicked.parents().is ('#element'))) { //click

[jQuery] Re: easy way to get all input value

2008-06-13 Thread vincent voyer
Hello, $('#myform').serializeArray() will give you a great Json object to work with ! (And send it to a $.post request for example) Dunno if it's what you were searching for but i use it very often to send data to an ajax request On Jun 13, 4:56 am, Jack Killpatrick [EMAIL PROTECTED] wrote: I

[jQuery] Re: Selecting Row When Checkbox in a TD is Checked?

2008-06-13 Thread vincent voyer
Correct syntax : $(.Dinner:checked).parent().parent().show(); $(.Dinner :checked) means :checked items chidren of .dinner elements wich is not what you want And remove that center/center thing PLEASE ! (use at least td style=text-align:center or write a css rule) :) On 13 juin, 03:53, Vik

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-06-05 Thread vincent voyer
Hello, for those wondering, if you want to know whenever you click outside a div and byt outside i mean everywhere but the div like you want to display an error message : html head titletest error click outside/title style type=text/css p.error { position:absolute; top:40%; left:30%; width:40%;