javascript - jQuery "on" blur event -


i have following code in app;

inputfld.on("blur.typeahd", function(){alert(1)}); 

now there inputfld dom element on page

but not see element class of "typeahd"

still code goes inside function , alert 1

my question if interpreting blur.typeahd incorrectly? typeahd element in case or else?

yes, getting wrong.

here blur.typeahd stands event namespace


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -