Example HTML:
<div id="foo" class="class_one"></div>
How can I add the class class_two
without replacing class_one
?
end result:
<div id="foo" class="class_one class_two"></div>
See Question&Answers more detail:osExample HTML:
<div id="foo" class="class_one"></div>
How can I add the class class_two
without replacing class_one
?
end result:
<div id="foo" class="class_one class_two"></div>
See Question&Answers more detail:os