私はこれを以下で試しました。$( "div.tab_select")[0]の戻りオブジェクトはjQueryオブジェクトではないと思いますが、純粋なjavascriptメソッドを使用することさえできません。
jQueryオブジェクトにする方法はありますか?たとえば、$($( "div.tab_select")[0]) ..これはばかげていることを知っています。
読んでくれてありがとう。
var tmp = $("div.tab_select")[0];
alert(tmp); //This gives me HTMLDivElement collectly. But I can't use any of javascript..
alert(tmp.nodeName); //But this give me error "Uncaught TypeError: Cannot read property 'nodeName' of undefined"
tmp.hide(); //Neither, I can't use this.