Skip to content

Instantly share code, notes, and snippets.

@watershed
Created June 4, 2011 07:45
Show Gist options
  • Save watershed/1007706 to your computer and use it in GitHub Desktop.
Save watershed/1007706 to your computer and use it in GitHub Desktop.
Compare table cell example
<!-- Example cell with JavaScript on -->
<td class="linked">
<a href="/Datasheets/redPOWER_R4/100-400W_RS_series.aspx?" title="View RS datasheet">
<a title="View RS datasheet" href="/Datasheets/redPOWER_R4/100-400W_RS_series.aspx?">
<em class="good">Good</em>
</a>
</a>
</td>
<!-- Same cell with JavaScript off (HTML sent to browser) -->
<td>
<a title="View HS datasheet" href="product.php"> <!-- note wrong URL! -->
<em class="good">Good</em>
</a>
</td>
<!-- HTML that should be sent to the browser -->
<td>
<em class="good">Good</em>
</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment