Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function(){
- $('#num').autocomplete({
- lookup: Object.keys(localStorage),
- select: function(event, ui) {
- //Tried a number of things here, it just doesn't trigger...
- event.preventDefault();
- $(this).val("hello");
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement