jquery set multiple attribute value

Solutions on MaxInterview for jquery set multiple attribute value by the best coders in the world

showing results for - "jquery set multiple attribute value"
Karl
06 Jan 2018
1$(myObj).attr({"data-test-1": num1, "data-test-2": num2});
2