Difference between revisions of "Template:Dropdown"

From UMaine SECS Numerical Modeling Laboratory
Jump to: navigation, search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<p>Click the button to create an INPUT field, a DATALIST element and an OPTION element.</p>
+
<div comment='This template can be used to change images depending on the selection
 +
of an item in a dropdown menu.'></div>
  
<div id='displayText'>
+
<htmlet nocache="yes">dropdown</htmlet>
</div>
 
 
 
<htmltag tagname="form" action=""></htmltag>
 
<htmltag tagname="input" list="browsers" name="browser">
 
<htmltag tagname="datalist" id="browsers">
 
  <htmltag tagname="option" value="Chrome">
 
  <htmltag tagname="option" value="Firefox">
 
  <htmltag tagname="option" value="Opera">
 
  <htmltag tagname="option" value="Safari">
 
</htmltag>
 
<htmltag tagname="input" type="submit">
 
 
 
 
 
 
 
<form action="/action_page.php">
 
  <input list="browsers" name="browser">
 
  <datalist id="browsers">
 
    <option value="Internet Explorer">
 
    <option value="Firefox">
 
    <option value="Chrome">
 
    <option value="Opera">
 
    <option value="Safari">
 
  </datalist>
 
  <input type="submit">
 
</form>
 

Latest revision as of 21:46, 27 February 2019

Dropdown