maqskywalker
asked on
adding a href tag to a table cell with javascript
i have this fiddle:
https://jsfiddle.net/tkwpztkf/
Is there a way to use either JavaScript or jQuery
So that on page load my page renders this:
Basically I want to add the hyperlink a href tag to my items inside the cells on the jquery page load event.
https://jsfiddle.net/tkwpztkf/
Is there a way to use either JavaScript or jQuery
So that on page load my page renders this:
<table id="table1">
<tr>
<td>
<span><a href="http://www.google.com" target="_blank">Google<a></span>
</td>
<td>
<span><a href="http://www.yahoo.com" target="_blank">Yahoo<a></span>
</td>
<td>
<span><a href="http://www.bing.com" target="_blank">Bing<a></span>
</td>
</tr>
</table>
Basically I want to add the hyperlink a href tag to my items inside the cells on the jquery page load event.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER