大家好,我想让 td 中的 div 充当 href。我怎样才能做到这一点?
如果不使用 html,可能使用 jquery 或 javascript?
<table class="mgmtview_table" align="center">
<tr>
<td class="content" id="content">
<table class="content_table">
<tr>
<td class="topBar">
<div id="div_view" align="center">FusionCharts will load here!</div>
</td>
<td class="topBar">
<div id="div_view2" align="center">FusionCharts will load here!</div>
</td>
<td class="topBar">
<div id="div_view3" align="center">FusionCharts will load here!</div>
</td>
</tr>
<tr>
<td class="topBar">
<div id="div_view4" align="center">FusionCharts will load here!</div>
</td>
<td class="topBar">
<div id="div_view5" align="center">FusionCharts will load here!</div>
</td>
<td class="topBar">
<div id="div_view6" align="center">FusionCharts will load here!</div>
</td>
</tr>
<tr>
<td class="topBar">
<div id="div_view7" align="center">FusionCharts will load here!</div>
</td>
<td class="topBar">
<div id="div_view8" align="center">FusionCharts will load here!</div>
</td>
<td class="topBar">
<div id="div_view9" align="center">FusionCharts will load here!</div>
</td>
</tr>