I have the following

I have the ajax function returning html depending on logic from a
controller.

one the html elements is a link to a google map, it is possible to
automate page transition
in jquery using ajaxClick() but i cant get it to work using the
response.js method.

if request.vars.t1 == "map1" :
        response.js = "$('<a href="#gmap-4" data-
transition="pop">').ajaxClick();"
elif request.vars.t1 == "map" :
        response = DIV(DIV(request.vars.t1,_style="color: #AAAAAA;
font-size: 12px; font-family: Lucdia Grande,arial,sans-
serif;"),DIV("...and here's your map:",_style="color: #333333; font-
size: 16px;  font-family: Lucdia Grande,arial,sans-serif;"),LI(A('Your
Map',_href='#gmap-4')))

   return response

any ideas how to get this working?

Regards
Chrism

Reply via email to