Avatar of shuittny
shuittny

asked on 

adding the id attribute in JavaScript

Does anyone know how to add (via code) and id attribute within an HTML statement?

RIght now the page I'm trying to render displays the following

<tr class = "class1"> for example.  this is what i'm looking for

<tr class = "class1" id = "id1">
Web Languages and StandardsJScript

Avatar of undefined
Last Comment
scrathcyboy

8/22/2022 - Mon