Very simple and straight forward. I pre-populated a HTML datalist with values, on the form when I want select a value and insert it into SQLite database. This is my example
Have a selector to select the input element. Mention the event after which you want the values to be moved. Get the value by using .val().
Example:
$("input[name=TypeList]").focusout(function(){ alert($(this).val()); });
Hope this is what you are looking for jsFiddle