You can do :
$(document).bind('click', function(e){
var $clicked = $(e.target);
if (!($clicked.is('#element') ||
$clicked.parents().is
('#element'))) {
//click outside,
If you just want to insert numbers try .text() instead of .html() ?
On Jun 17, 5:57 am, "Morgan Allen" <[EMAIL PROTECTED]> wrote:
> This has to do with the way JS evaluates true and false with 0. !0 == true.
> The simple fix is passing String(0), line 964 (in current svn) is the
> problem, if(!el
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 thing PLEASE ! (use at least or write a css rule)
:)
On 13 juin, 03:53, Vik <[EMAIL PROTECTED]> wrote:
> I found
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:
>
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 :
test error click outside
p.error {
position:absolute;
top:40%;
left:30%;
width:40%;
blaeblalbldsqdsqfsqf
fsqfqsf
ERROR
5 matches
Mail list logo