@Matt and it's easy, but is a bad design. passing strings to work like functions is ugly and not limited.
On 9/27/08, Matt <[EMAIL PROTECTED]> wrote: > > On Sep 26, 1:58 pm, "John Resig" <[EMAIL PROTECTED]> wrote: >> But that reminds me. I've been wanting this for a long time: >> $("#one").click(false); > > That would be handy, and I would also still like to pass a string in > some cases, as described here: > http://groups.google.com/group/jquery-en/browse_frm/thread/1f6790e31d33e32a > > $('#one').click(" alert('you clicked me!'); "); > instead of > $('#one').click( function() { alert('you clicked me!'); } ); > > Matt Kruse > > > > -- E. Myller ( www.emyller.net ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---