changePage event not working in chrome

changePage event not working in chrome

Using Chrome browser my code snippet below fails to change from the current page(a.html) to the new page(b.html) which resides in a different page, but it works fine with firefox and dreamweaver live view.

  1.  $('#proceed').on("click",function(){
  2.             $.mobile.changePage('b.html');
  3.         });

I also noticed that it works fine in Chrome ONLY if new page (page to change to) is in current file as a data-role = "page"

What I mean is this:

  1.  $('#proceed').on("click",function(){
  2.             $.mobile.changePage('#newpageID');
  3.         });

Pls advice.

Thanks.