我有這樣的表格(如下)。如果有人將鼠標光標放在此名稱上,我想獲取某人的詳細信息。例如,如果有人將光標放在姓名「John」上,則將向他顯示「位置:美國,性別:男性,城市:洛杉磯」這一信息。我怎麼用jQuery來做到這一點?如何使用Jquery獲取鏈接標題信息?
<table cellspacing="0" cellpadding="2" border="1" width="100%" class="tariff_table">
<tbody>
<tr>
<td width="150" valign="top" class="title_td">
<strong>Name</strong></td>
<td valign="top" class="title_td">
<strong>Surname</strong><strong></strong>
<p></p></td>
<td valign="top" class="title_td">
<strong>Middle Name </strong></td>
</tr>
<tr>
<td valign="top">
John</td>
<td valign="top">
Locaste</td>
<td valign="top">
Sawqa</td>
</tr>
<tr>
<td valign="top">
Jafde</td>
<td valign="top">Saqzw</td>
<td valign="top">
Porda</td>
</tr>
</tbody></table>
其他數據信息從哪裏來? – voigtan
@voigtan我不明白你的問題。 – Someone