jquery/jquery-mobile — Issue #3144: buttons dont respond after loading a new page using mobile.changePage
Author: srinivasanupoju
Created: 2011-11-23 00:40:20+00:00
State: open

I am very new to Jquery Mobile so may be i am missing something very obvious.
I have a main page which has three buttons. On click of these button i navigate to a different page using the changePage method ex
$.mobile.changePage("\doSomething.do?method=pass" , {type:"post",data:{id:id},changeHash:false,transition:"pop"}

The buttons on the new page stop responding, nothing happens when i click them. (I do have JQM code for click on these buttons)
Pass
and the corresponding scripts is
$('#dialogbox').live('pageinit', function(){
$('.pass').click(function(){
$.mobil.pageChange("\sayPass.do?method=pass", {
type:"post",
data: {status:status , comment:comment},
changeHash:false,
reloadPage:true
});
}
});

I refreshed the second page, after the refresh the buttons did respond, but the next page button again went dead :(
Please help me over here