Answers for "jquery add multiple attribute to element by class"

0

jquery add multiple attribute to element by class

$(myObj).attr({"data-test-1": num1, "data-test-2": num2});
Posted by: Guest on May-13-2021

Code answers related to "jquery add multiple attribute to element by class"

Code answers related to "Javascript"

Browse Popular Code Answers by Language