Passing parameters from one page to another on windows mobile application.
I am making an jQuery mobile application for windows phone7. I have to pass data from one html page to another at list item click(dynamically generated list ) . i use the code as follows:
$("li").bind('click',function(){
$.mobile.changePage('mypage.html?id=5');
});
this does not work properly.
even I try to use
$("li").bind('click',function(){
$.mobile.changePage('mypage.html',
data
:
"apple=banana");
});
this also show error.
Any help will be appreciated.