Yes. You can use it like this:
$('#myDIV').click( function() {
// "this" now points to the DIV
});
Karl Rudd
On 5/7/07, Brian Ronk <[EMAIL PROTECTED]> wrote:
I wanted to look something up, but since the site is moving hosts
right now, that makes it a little hard :)
is click() an available function? I wanted to add an event to a div
that made an area visible to do some editing. I know I could just to
an onclick method, but I wanted to try adding something dynamically to
see what I could do, and if it was what I wanted. Thanks.