logo       

Re: attach a click event to everything but one TR element...??: msg#01239

lang.javascript.jquery

Subject: Re: attach a click event to everything but one TR element...??

Miel Soeterbroek schrieb:
>
>
> When editing a field (inline, with jEditable), the editing is
> cancelled when the user clicks outside the editing area. I would like
> to see this behaviour when Duplicating/Adding a row too.
> Now, it is not that hard to attach a click event to the edit row's TR,
> but what i need to do is catch all clicks outside of that row. Any
> ideas on this?
>
You could just have a look at the jEditable plugin. My guess:
$(document).click()

I'm quite interested to see a demo of your db editor :-)

-- Jörn


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise