I've displayed a table of used-items for sale.
I'd like to let used just hover-over an item's table-cell, to display item's price, eg, in a pop-up text-box.
Is this possible in JavaScript?
If I'd need the (row, col) (eg, in another location forma开发者_Python百科t) how to get those?
You don't need Javascript for this: you could use a title
attribute for each item.
<td title="Title">Item<!-- Will display a tooltip with "Title" on hover --></td>
jsFiddle demo
精彩评论