Show all options of datalist on focus

Is there any way to show all options of datalist on focus? I need to show all the options even after a key press.

<form action="" method="get">
 <input list="browsers" name="browser">
 <datalist id="browsers">
  <option value="Internet Explorer">
  <option value="Firefox">
  <option value="Chrome">
  <option value="Opera">
  <option value="Safari">
 <input type="submit">


PS: This is not same as this question. My datalist options are generated dynamically using jquery.


$('input').on('click', function() {

try this this will work


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.