[Catalyst] Using jQuery with development server
Oleg Kostyuk
cub.uanic at gmail.com
Wed Mar 24 12:04:35 GMT 2010
And what is your question?.... :)
PS: anyway, this is not a jQuery list...
2010/3/24 Colin Brizell <c.brizell at worc.ac.uk>:
> I have the following markup in a template list.tt2 file
>
>
>
> <div class="tr" id='row_1_1'>
>
> <div class="tdremove">
>
> <a onclick="alert('Hello');
>
> event.stopImmediatePropagation;
>
> alert('Goodbye');
>
> $('#row_1_1').remove();
>
> alert('GoodbyeAgain');
>
> event.stopImmediatePropagation;
>
> return false;" href="">
>
> <img src='quest/images/remove.png' alt="Remove"
> title="Remove" />
>
> </a>
>
> </div>
>
>
>
> When I clink on the image the first two alerts are displayed but the third
> on isn’t and
>
> The “list function in the Question.pm Controller is called and the page is
> refreshed.
>
>
>
> If I remove the following jQuery code:-
>
>
>
> $('#row_1_1').remove();
>
>
>
> The event is not propagated
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
--
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)
More information about the Catalyst
mailing list