Hey there, I've got this piece of code written in Javascript
for a classic ASP
page. Since there are no CSS classes defined, everything is handled within the Javascript
itself.
var $a= $('#a'), $v= $('#v'), $s= $('#s'), $n= $('#n');
I'm wondering how I can apply the following CSS style .css({ 'border-width': '2px' })
to all these variables without repeating the same styling multiple times.
I attempted to do this
$([$a, $v, $s]).css({ 'border-width': '2px' });
but unfortunately, it didn't work as expected. Can anyone provide some assistance on this matter? Thank you!