JQuery and 'this' object

后端 未结 5 2096
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 00:14

I have the following JQuery function being attached to the blur event of n textboxes on a webpage.

$(document).ready(function() {
        $(\"input[id$=\'_tx         


        
5条回答
  •  不知归路
    2021-01-03 00:50

    This article (please excuse the pun) explains how this works a little more:

    Why I still prefer Prototype to JQuery

    The author considers it a poor design decision for the JQuery library, but I'm not advocating either way. I just thought the article was pretty interesting.

提交回复
热议问题