Note that there are some explanatory texts on larger screens.

plurals
  1. PORead URL parameter in Jquery Mobile
    primarykey
    data
    text
    <p>My Jquery mobile form with the list view has the below format.</p> <pre><code>&lt;div data-role="page" id="arealistpage"&gt; &lt;div data-role="header" data-theme="b"&gt; &lt;h1&gt;Area&lt;/h1&gt; &lt;a href="../MenuePages/Dictionaries.aspx" class='ui-btn-left ui-btn-back' data-icon='arrow-l' rel="external"&gt;Back&lt;/a&gt; &lt;!-- your button to go back to index.php#user page --&gt; &lt;a href="AddArea.aspx" data-role="button" data-icon="plus" data-theme="d" style="float:left;" rel="external" data-transition="slide"&gt;Add&lt;/a&gt; &lt;/div&gt;&lt;!-- /header --&gt; &lt;div data-role="content"&gt; &lt;ul data-role="listview" data-inset="true" data-theme="c" data-filter="true" id="areaList" data-split-icon="gear" data-split-theme="d"&gt; &lt;li&gt;&lt;a href="#dialog?AreaNo=1" data-rel="dialog" data-transition="pop"&gt;Test&lt;/a&gt;&lt;a class="deleteMe"&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;&lt;!-- /content --&gt; &lt;div data-role="footer" data-theme="b" data-position="fixed"&gt; &lt;div data-role="navbar"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="" data-role="tab" data-icon="arrow-u" class="returnTopAction"&gt;Top&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- /content --&gt; &lt;/div&gt;&lt;!-- /page --&gt; &lt;div data-role="page" id="dialog"&gt; &lt;div data-role="header" data-theme="b"&gt; &lt;h1&gt;Options&lt;/h1&gt; &lt;/div&gt; &lt;ul data-role="listview" data-inset="false" data-theme="c"&gt; &lt;%-- &lt;li data-role="divider" data-theme="a"&gt;Options&lt;/li&gt;--%&gt; &lt;li data-icon="false"&gt;&lt;a&gt;Edit&lt;/a&gt;&lt;/li&gt; &lt;li data-icon="false"&gt;&lt;a&gt;Delete&lt;/a&gt;&lt;/li&gt; &lt;li data-icon="false"&gt;&lt;a&gt;...&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>i need to open the "dialog" div as a dialog on listview row click and read the url parameter from the dialog. i need to get the AreaNo parameter from the url <li> tag and pass it to the Edit URL in open dialog. Currently i can not open the dialog and it's not working. please help and sorry for the bad english</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload