As far as I know you can run whatever JS you want in the a tags
onclick attribute. Is it not working?

Adrian

On Oct 25, 4:21 pm, vanwil <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I would like to call jqm on an element's onclick event.  It does not work.
> Why is that?  Is it MANDATORY to make these calls inside the $().ready
> function? Is it impossible to do something like this $('#myDiv').jqm({ajax:
> '@href', trigger: 'a.ex2trigger'}); inside a button's onclick event?
>
> Thank you!

Reply via email to