Thursday, April 12, 2012

jquery mobile, pgaechange and pageload not work

I am trying to use ajax to load sometag , but my appended code is not being enhanced by JQM.
I tried $(this).trigger('create') and $(this).trigger('updatelayout') but It still not working.

Then I tried to call ajax by function jquery mobile support: $.mobile.changePage()

my code:

$.mobile.changePage({url:'/', data:'add_new_tag=true', type:'GET'}, 'slide', false, true)

in action index: I render 'index.html'
I have checked it in firebug and see response is right (expected) . But I see nothing change in my browser.

Did I miss something ? I hope to recieve your help . Thank you :D

No comments:

Post a Comment