Yet another question of changePage() method

Yet another question of changePage() method

Hi list,

I went on using this kind of code to call dynamic page content :

  1. <script type="text/javascript">
                $(document).ready(function(){
                    $("#epg").click(function(){
                        $.mobile.changePage({
                            url: ".cxml",
                            type: "post",
                            data: "__sequence=getEPG"+"&login="+localStorage.getItem("login")+"&pwd="+localStorage.getItem("pwd")
                        },null,false,true);
                    });
                });








I didn't know exactly what to do for the button I wanted to use, so I tried:
  1. <a href="#" data-icon="grid" data-role="button" id="epg">EPG</a>
  1. <a href="" data-icon="grid" data-role="button" id="epg">EPG</a>
  1. <a href="#epg" data-icon="grid" data-role="button" id="epg">EPG</a>
  2. <div data-role="page" data-theme="d" id="epg">
    </div>
But all tries ended up in:
  1. l.data("page") is undefined
    http://<host>:<port>/*****/projects/<projectname>/js/jquery.mobile-1.0a3.min.js
    Line 46

Post is successful, but it seems there is no return page to put content.
Anyone can help ?
Thx.