Sorry, I just grabbed the list of event names from events.js line 807[1]
(why is "reset", for <form> elements, not in that list?)

I believe it would actually be (assuming these methods actually exist on the
element in question):

$(this).blur() = this.blur()
$(this).focus() = this.focus()
$(this).submit() = this.submit()
$(this).click() = this.click()
$(this).select() = this.select()

[1] http://jquery.com/dev/svn/trunk/jquery/src/event/event.js#L807

On 1/9/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:

Aaron Heimlich schrieb:
> On 1/9/07, *Andreas Wahlin* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Does this hold true for this.click() and this.offsetTop etc?
>
>
> $(this).blur() = this.blur()
> $(this).focus() = this.focus()
> $(this).load() = this.load()
> $(this).resize() = this.resize()
> $(this).scroll() = this.scroll()
> $(this).unload() = this.unload()
> $(this).click() = this.click()
> $(this).dblclick() = this.dblclick()
> $(this).mousedown() = this.mousedown()
> $(this).mouseup() = this.mouseup()
> $(this).mousemove() = this.mousemove()
> $(this).mouseover() = this.mouseover()
> $(this).mouseout() = this.mouseout()
> $(this).change() = this.change()
> $(this).select() = this.select()
> $(this).submit() = this.submit ()
> $(this).keydown() = this.keydown()
> $(this).keypress() = this.keypress()
> $(this).keyup() = this.keyup()
> $(this).error() = this.error()

Wait a moment. This is over the top. Which element has a default
mouseover() method (or error(), or unload() or ...).

And also please especially remember, that there is no click() method for
links. Maybe radios and checkboxes have a default click() method, but
I'm not sure.


-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/




--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to