Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to call <div> on submit button click
    primarykey
    data
    text
    <ul> <li><p>Please refer code below i m learning jquery and i want to display <strong></strong> tag named <strong>#child</strong> on submit button click using javascript/jquery can any one help me how to call on button click</p></li> <li><p>And also want to call #<strong>child and #home</strong> <strong></strong> tag on >>(next button) &amp; &lt;&lt;(prev button)** on button click respectively in code >> and&lt;&lt; is written as &amp;lt and &amp;glt.? can anyone help me out ?</p> <pre><code> &lt;div data-role="page" id="home"&gt; &lt;div data-theme="d" data-role="header"&gt; &lt;h3&gt; The Grand Bhagvati &lt;/h3&gt; &lt;a data-role="button" data-inline="true" data-direction="reverse" data-transition="slide" href="#home"&gt; &amp;lt;&amp;lt; &lt;/a&gt; &lt;a data-role="button" data-inline="true" data-direction="reverse" data-transition="fade" href="#child"&gt; &amp;gt;&amp;gt; &lt;/a&gt; &lt;/div&gt; &lt;div data-role="content"&gt; &lt;div data-role="fieldcontain"&gt; &lt;fieldset data-role="controlgroup" data-mini="true"&gt; &lt;label for="textinput1"&gt; User: &lt;/label&gt; &lt;input id="textinput1" placeholder="Khushu" type="text" /&gt; &lt;/fieldset&gt; &lt;/div&gt; &lt;input data-theme="d" ="submitbtn" value="Login" type="submit" onSubmit="redirect()"/&gt; &lt;/div&gt; &lt;div data-theme="a" data-role="footer" data-position="fixed" &gt; &lt;h3&gt; Page1 &lt;/h3&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <pre><code> &lt;div data-role="page" id="child"&gt; &lt;div data-theme="d" data-role="header"&gt; &lt;h3&gt; The Grand Bhagvati &lt;/h3&gt; &lt;a data-role="button" data-inline="true" data-direction="reverse" data-transition="slide" &gt; &amp;lt;&amp;lt; &lt;/a&gt; &lt;a data-role="button" data-inline="true" data-direction="reverse" data-transition="fade" &gt; &amp;gt;&amp;gt; &lt;/a&gt; &lt;/div&gt; &lt;div data-role="content"&gt; &lt;div data-role="fieldcontain"&gt; &lt;fieldset data-role="controlgroup" data-mini="true"&gt; &lt;label for="textinput1"&gt; User: &lt;/label&gt; &lt;input id="textinput1" placeholder="Khushu" type="text" /&gt; &lt;/fieldset&gt; &lt;/div&gt; &lt;input data-theme="d" value="Login" type="submit" onsubmit="redirect()"/&gt; &lt;/div&gt; &lt;div data-theme="a" data-role="footer" data-position="fixed" &gt; &lt;h3&gt; Page1 &lt;/h3&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p> </p></li> </ul>
    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.
 

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