jquery - What is the event called when a text inside textbox changes? -



jquery - What is the event called when a text inside textbox changes? -

$(document).delegate("input#search-champions", "change", function(e)

whenever alter value within search-champions, have click outside of textbox create work. want function run whenever value within textbox changes.

i forgot called, it's same scheme google uses it's searches. write a, , it'll show results a.

try binding keyup event instead:

$(document).delegate("#search-champions", 'keyup', function(e)

by way, there should no need prepend selector input - ids should unique anyway!

jquery

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -