<分区>
这是我的代码:
$(.clsname).on("click", function(){
do_something($(this));
});
function do_something(sth){
/*
* in here sth equals $(this)
* and I want to get "this" of "$(this)"
*
* EX: this.value = "some value";
* I know I can do that like sth.val("some value");
* but I need to do that by following the first version (using "this")
*/
}
如您所见,我的问题在上面的代码中有注释。我该怎么做?