[Nitro] JQuery questions

Alexandre Gravem vikingtux at gmail.com
Thu Nov 2 18:49:28 EST 2006


I should do

$('#srcbutton').click(function() {

>   $('#targetbutton').trigger('click');
>
> });


On 11/2/06, George Moschovitis <george.moschovitis at gmail.com> wrote:
>
> Dear devs,
>
> I have a jquery question. Is it possible to emulate (programmatically
> force) a click on a button from the even handler of another button? Ie
> something like:
>
> $('#srcbutton').click(function() {
>   $('#targetbutton').force_click();
> });
>
> thanks in advance for your help,
> -g.
>
>
> --
> http://www.gmosx.com
> http://www.nitroproject.org
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20061102/f6113d26/attachment.html 


More information about the Nitro-general mailing list