+ 1

Creating a HTML element via jQuery with a variable class name.

Is this something possible? Say im creating new table rows and i want to assign each row a different class name. Say for instance a class name based on EmployeeID+DateOfHire. I couldent use just $("<tr>.</tr>"){};

20th May 2019, 12:22 AM
Kevin Hewitt
Kevin Hewitt - avatar
1 Resposta
+ 6
Have you tried the JQuery tutorial on Sololearn?
20th May 2019, 2:29 AM
Sonic
Sonic - avatar