Skip to content Skip to sidebar Skip to footer

How Can I Add My Own Style Property And Values?

Can I make a javascript function so that the property and value would work in stylesheet? So the following would work: .selector{ myproperty: myvalue1; /* myvalue1, myvalue2, my

Solution 1:

Your question is confusing, but you might be able to use jQuery's .css function.

$('.selector').css('myproperty','myvalue1');

Post a Comment for "How Can I Add My Own Style Property And Values?"