change page issue

change page issue

Hi 

I want to change a page in jQuery, so that i Can use the $.mobile.changePage("#url"), so its work perfect .
for example ,currently I'm in page A now, so the page url is localhost/A, in A page I can use $.mobile.changePage("#B"), so page will be redirect to B page and the url is changed to localhost/A#B.
and now I can refresh the page A page will be shown but url is  localhost/A#B.

so please help me.I want page was only be in B, when I refresh a page and I'm using multipage conpcept

Thanking you,
Guruprasad N