How can i bind an OnChange event of a TextBox to function using JQuery?
Am trying this and its failing ;
$(document).ready(function(){
$("input#tags").bind("change",autoFill);
});
function autoFill(){
$("#tags").autocomplete("/taglookup/", {
width: 320,
max: 4,
highlight: false,
multiple: true,
multipleSeparator:",",
scroll: true,
scrollHeight: 300,
delay: 10
});
}
NB: I want to implement a Tag TextBox like the one for stackoverflow which detects OnChange events and calls AJAX functions when a user types in. - ideas
Gath