Manage events pagecontainer change

Manage events pagecontainer change

Hi

page_A.aspx 

$.mobile.pageContainer.pagecontainer("change", "page_B.aspx");

page_B.aspx   

none of these events is raised. why? what is the best practice to make the record events as you do with document.ready?

  $ (function () {
             alert ("go");
             $ (". ButtonMenu"). bind ("tap" Go);
         });

         $ (document) .on ("pagecontainerbeforeload", function () {
             alert ("pagecontainerbeforeload event fired!");
         });

         $ (document) .on ("pagecontainerbeforeshow", function () {
             alert ("pagecontainerbeforeshow event fired!");
         });

         $ (document) .on ('pagecontainershow', function (e, ui) {
             alert ("pagecontainershow");
         });