You can do :
$(document).bind('click', function(e){
var $clicked = $(e.target);
if (!($clicked.is('#element') ||
$clicked.parents().is
('#element'))) {
//click
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
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
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%;
4 matches
Mail list logo