I have the following code in my app;
inputFld.on("blur.typeahd", function(){alert(1)});
Now there is inputFld DOM element on my page
But I do not see any element with a class of "typeahd"
Still my code goes inside the function and I get alert 1
My question is if I am interpreting blur.typeahd incorrectly? Is typeahd an element in this case or something else?
Yes, you are getting it wrong.
here blur.typeahd
stands for event namespace
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.