Get A Data-Attribute Value From The Selected DataList Option

added by JavaScript Kicks
3/23/2016 11:49:09 AM

723 Views

A few months ago, I stopped writing AJAX-style auto-complete inputs on my web apps. Instead, I started using the HTML5 DataList feature. It's a pretty simple, and fairly slick way to do auto-complete on an input text box (as long as your list isn't too long, since all items will be rendered into the HTML of the page).


0 comments