Edit -tags with or without Javascript
-
I would like to add ids, more classes or data attributes to the <td>-tags of my created table. Problem: It has to be equal to the content in the <td>-tags. So something like this:
<td class=” pub1_col3 wpda_format_string” data-value=”tennis”>Tennis</td>.
I tried a few Javascript-Codes ChatGPT gave me, but they all didn’t work. Is there a reason for this? And how can I customize my <td>-tags the way I like to?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Edit -tags with or without Javascript’ is closed to new replies.