Reputation: 35
<td>
Can any one help me how can I solove this
txtHTML = txtHTML + "<td>";
txtHTML = txtHTML + <a href="http://www.w3schools.com">Action</a>+ "</a>";
txtHTML = txtHTML + "</td>";
Upvotes: 1
Views: 35
Reputation: 1100
It is just the matter of the usage of "
and '
in your code as a string
txtHTML = txtHTML + "<td>";
txtHTML = txtHTML + "<a href='http://www.w3schools.com'>Action</a>";
txtHTML = txtHTML + "</td>";
This above code will help you!
Upvotes: 1