2

何らかの理由で、changepage を使用して jquery モバイル ダイアログを開くたびに &ui-state=dialog が URL に追加されます。

元: /search-results.html?m_search=iphone#&ui-state=dialog&ui-state=dialog&ui-state=dialog

 $('.legClick').bind('click', function (e) {
            jQuery.mobile.changePage('#test');
        })

閉じるボタンのコード:

<a data-inline="true" data-theme="d" data-role="button"
        data-rel="back" href="#" class="ui-btn ui-btn-inline ui-btn-corner-all ui-shadow ui-btn-up-b" aria-disabled="false"
        data-cqpath="10267989408824866797448481664492725584"
        style="position: fixed; bottom: 0;width:100%">
        <span class="ui-btn-inner ui-btn-corner-all"><span  class="ui-btn-text">Close</span></span>
</a>

この特定のパラメーターが URL に複数回追加されないようにするために、他のオプションを含める必要がありますか?

4

0 に答える 0