eh, i just realized that the click() of jquery might trigger in another way
than setting the DOM element onclick property... you'll just have to try it
;)

On Sat, Sep 6, 2008 at 2:10 PM, Rene Veerman <[EMAIL PROTECTED]> wrote:

> $('#myid')[0].onclick
>
> to call:
>
> $('#myid')[0].onclick()
>
> DOM element property, not jQuery method.
> (again!) ;)
>
>
> On Fri, Sep 5, 2008 at 8:36 AM, Drew LeSueur <[EMAIL PROTECTED]> wrote:
>
>>
>> $('#myid').click()  will trigger the click event;
>>
>> and
>>
>> $('myid').click(function(){alert('clicked');});  will bind that
>> function to the click event
>>
>> but how do I return the function that would be called when $('#myid')
>> is clicked? (note: return, not call)
>>
>> Thank you,
>>
>>
>

Reply via email to