MediaWiki:Common.js

From UMaine SECS Numerical Modeling Laboratory
Revision as of 20:50, 19 February 2019 by Nick (talk | contribs)
Jump to: navigation, search
/* Any JavaScript here will be loaded for all users on every page load. */

$(function () {

  var myElement = document.getElementById('dropdown');
  myElement.innerHTML = '
<form action="/action_page.php">
  <input list="browsers">
  <datalist id="browsers">
    <option value="Internet Explorer">
    <option value="Firefox">
    <option value="Chrome">
    <option value="Opera">
    <option value="Safari">
  </datalist> 
</form>';

}());