Reputation: 116283
I have an element $myElement
that I want to refer to using this
inside .css()
call. Specifically, I tried to change the CSS property someCssProperty
to $myElement.myProperty
naively:
$myElement.css(someCssProperty, this.myProperty);
Is there a way of having a working this
without using the cumbersome .each()
?
Upvotes: 0
Views: 44