How to retrieve Parameters passed through Jquery Mobile ChnagePage

How to retrieve Parameters passed through Jquery Mobile ChnagePage

On click of a Button , i am redirecting to a page known as qrcode.html as shown below 


    $(document).on('click', '.qrcode', function() {
         $.mobile.changePage("qrcode.html?UUID="+uuid+'&cust_id='+cust_id);
     });

 This is redirecting to the qrcode.html page , where i am trying to fetch the parameters as shown 


Inside qrcode.html page

    $( document ).on( "pageinit", "#homedeliverypage", function( event )
    {
    var UUID = getParameterByName('UUID');
             var   cust_id = getParameterByName('cust_id');
             alert(UUID);
    });

To my surprise the alert is not displayed even null also 


Could you please let me know how to retrive the parameters ??