Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>perhaps it helps you?</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt; New Document &lt;/title&gt; &lt;meta name="Generator" content="EditPlus"&gt; &lt;meta name="Author" content=""&gt; &lt;meta name="Keywords" content=""&gt; &lt;meta name="Description" content=""&gt; &lt;script&gt; function pagechange(currentPage) { var divs=document.getElementsByTagName("div"); for(var i=0;i&lt;divs.length;i++){ if(divs[i].id!=('formpage_'+(parseInt(currentPage)+1))){ divs[i].style.display="none"; divs[i].style.visibility='hidden'; }else{ divs[i].style.display="block"; divs[i].style.visibility='visible'; } } } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form action=".." ..&gt; &lt;!-- the first page has style set to be visible --&gt; &lt;div id="formpage_1" style="visibility: visible; display: block; .."&gt; &lt;label for=".."&gt;..&lt;/label&gt; &lt;input type=".." ..&gt; .. &lt;!-- NEXT button --&gt; &lt;input type="button" value="next" onclick="pagechange(1);"&gt; &lt;/div&gt; &lt;!-- the 2nd and following pages have style set to be invisible --&gt; &lt;div id="formpage_2" style="visibility: hidden; display: none; .."&gt; &lt;label for=".."&gt;..&lt;/label&gt; &lt;input type=".." ..&gt; .. &lt;!-- PREVIOUS and NEXT buttons --&gt; &lt;input type="button" value="back" onclick="pagechange(0);"&gt; &lt;input type="button" value="next" onclick="pagechange(2);"&gt; &lt;/div&gt; ... &lt;div id="formpage_3" style="visibility: hidden; display: none; .."&gt; &lt;label for=".."&gt;..&lt;/label&gt; &lt;input type=".." ..&gt; .. &lt;!-- PREVIOUS and SUBMIT buttons --&gt; &lt;input type="button" value="back" onclick="pagechange(1);"&gt; &lt;input type="submit" value="Submit"&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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