Hi I am trying to create a jquery popup bubble for items created in a strongly typed view from a database in asp.net
I have found a number of examples but nothing that really helps. Any help would be appreciated.
Here is a sample of my strongly typed view with the table and items within the table columns:
<table>
<tr>
<th>
name
</th>
<% foreach (var item in Model) { %>
<tr>
<td>
<%= (item.name) %>
</td>
</tr>
<% } %>
</table>
Put the bubble info somewhere on the page, inside a div tag perhaps. Put a class on the div tag that makes it (1) hidden and (2) absolutely positioned relative to the td tag.
Next, on the hover or click event of <%= item.name %>, you'll use jQuery to show() or hide() the popup.