1

console.log(this)スロー:

Object
    eles: Object
        container: x.fn.x.init[1]
        ele: x.fn.x.init[1]
        0: div.cropMain
        context: document
        length: 1
        prevObject: x.fn.x.init[1]
        selector: ".two .cropMain"
        __proto__: Object[0]
        img: x.fn.x.init[1]

セレクター値「.two .cropMain」を取得するにはどうすればよいですか?

4

1 に答える 1

4

次のようにアクセスできます。

this.eles.selector
于 2013-08-09T01:26:48.297 に答える