this as element

this as element


Hi,
Let's look at this sample
$("div > span").css("border", "3px double red");
This works ok.
I need to do something like above with 'this'. I can not find a good
syntax for that.
$(this , "> span").css("border", "3px double red"); not works
$("this > span").css("border", "3px double red"); not works
......
How can I fix the problem ?
Thanks
Hamazasp Avetisyan