Philip Pryce schrieb:
> Is there some way of making a bind function so that, one you click away from
> an element (say drop down menu) it disapears. So say i've clicked a button
> and a menus poped up, i then taken a look at the menu and i dont need it
> again, so i click on some other part of the page and the menu hides it self
> again. Any ideas?
Philip, there is the "one" function, that does exactly what you need.
$('#target').one('click', function() {
...
});
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/