About the only reason is that the "bind()" function allows you to pass
a block of data into the handler function. The shortcut functions only
allow you to pass in a function.

For more info take a look at:
  http://jquery.bassistance.de/api-browser/#bindStringObjectFunction

Karl Rudd

On 3/6/07, agent2026 <[EMAIL PROTECTED]> wrote:
>
> What's a situation where you want to use .bind then?  (still new at this)
>
> Adam
>
>
>
> Karl Rudd wrote:
> >
> > The click, blur, keyup, etc functions are just shortcuts. So instead of:
> >
> >   $(...).bind( 'click', function...
> >
> > you can write:
> >
> >   $(...).click( function...
> >
> > Karl Rudd
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/What-is-the-difference-in-functionality-between-bind%28%29-and-click-blur-keyup-etc%28%29--tf3352982.html#a9327987
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to