Looks to me like you're missing a closing bracket, so your 2nd click
method ($('a#enviar_jqm_trigger') is encapsulated in the first ($
('a#corregir_jqm_trigger'). No?

-j

On Feb 5, 9:12 am, Sebastián Würtz <[EMAIL PROTECTED]> wrote:
> my script
>
>                 $('a#corregir_jqm_trigger').click(function(){
>                     $('#jqm').jqm({ajax: this.href, trigger:
> '#corregir_jqm_trigger', modal: 'true', target:'div.jqmAlertContent',
> overlay: 50, overlayClass: 'whiteOverlay', cache: false, onLoad:
> preparar_corregir_form}).jqmShow().jqDrag('.jqDrag');
>                     $('.jqmdTC').html('Enviar correcci&oacute;n de la
> p&aacute;gina:');
>                     jqm_windows();
>                     return false;
>                 });
>
>                 $('a#enviar_jqm_trigger').click(function(){
>                     $('#jqm').jqm({ajax: this.href, trigger:
> '#enviar_jqm_trigger', modal: 'true', target:'div.jqmAlertContent',
> overlay: 50, overlayClass: 'whiteOverlay', cache: false, onLoad:
> preparar_envio_form}).jqmShow().jqDrag('.jqDrag');
>                     $('.jqmdTC').html('Enviar esta noticia por email');
>                     jqm_windows();
>                     return false;
>                 });
>
> use the same jqm container, i pass the windows title via
> $('.jqmdTC').html, but if i click in the first link and then in the
> second the second allways showme the first ajax response. And im calling
> other thing!
>
> how i can fix this?

Reply via email to