How to get javascript control from JQuery object?

后端 未结 4 1198
说谎
说谎 2021-02-12 23:16

I\'m a beginner in JQuery,

How can I get the control as a javascript object from a JQuery object

var _object = $(this). ??
4条回答
  •  旧巷少年郎
    2021-02-12 23:50

    (function (e) {
        var a = false;
        try {
            $(this)[0];
            a = true;
        } catch (h) {}
        alert(a.toString());
    })(window);
    

提交回复
热议问题