Difference between revisions of "Javascript Auto-complete"

From Level Access Web Labs
Jump to navigation Jump to search
Line 39: Line 39:
 
}
 
}
 
</style>
 
</style>
</head>
 
<body>
 
<form>
 
<label for="txtTest">Simple Text</label>
 
<span id="alert-container"></span>
 
<input type="text" id="txtTest" autocomplete="off" />
 
<input type="button" value="Go!" id="btnSubmit"/>
 
</form>
 
 
<ul tabindex="0" id="testList" role="listitem">
 
 
</ul>
 
 
 
  
  
Line 207: Line 193:
  
 
</script>
 
</script>
 +
 +
</head>
 +
<body>
 +
<form>
 +
<label for="txtTest">Simple Text</label>
 +
<span id="alert-container"></span>
 +
<input type="text" id="txtTest" autocomplete="off" />
 +
<input type="button" value="Go!" id="btnSubmit"/>
 +
</form>
 +
 +
<ul tabindex="0" id="testList" role="listitem">
 +
 +
</ul>
 +
 +
 +
 +
 
</body>
 
</body>
 
</html>
 
</html>
 
[[Category:ARIA]]
 
[[Category:ARIA]]

Revision as of 14:56, 4 April 2014

Autocomplete using plain javascript