Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4252146
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:45:23+00:00 2026-05-21T04:45:23+00:00

Hi I am trying to create a jquery popup bubble for items created in

  • 0

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>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T04:45:24+00:00Added an answer on May 21, 2026 at 4:45 am

    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.

    <style>
        .myTable td { position:relative; top:0; left:0; }
        .myBubble { display:none; position:absolute; top:-100px; background:#CCC; }
    </style>
    
    <table class="myTable">
        <tr>
            <th>name</th>
        </tr>
        <% foreach (var item in Model) { %>
        <tr>
            <td>
               <div class="myTrigger"><%= (item.name) %></div>
               <div class="myBubble">
                   <%= item.description %><br />
                   <%= item.publishDate %>
               </div>
            </td>
        </tr>
        <% } %>
    </table>
    
    <script>
    
        // presuming you've already included a reference to the jQuery library...
    
        $('.myTrigger').hover( function () {
            // show the adjacent bubble content
            $(this).parent().find('.myBubble').show();  
        },   
        function () {
            // hide the adjacent bubble content
            $(this).parent().find('.myBubble').hide();
        });
    
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello guys! I have been trying to create a if/else statement code in jQuery
I am trying to create a combobox style widget (jquery-ui compatible) andcurrently I am
I'm trying to create a simple toggling sidebar using jquery, where it expands and
Trying to create a list to return some JSON data to a view. Following
I'm trying to create a jQuery plugin and having problems with selecting the DOM.
I am trying to create a simple JQuery Div Slider, but it doesn't seem
i am trying to create a menu bar using jquery. I am using the
I'm trying to create a interval call to a function in jQuery, but it
I'm trying to create a sliding FAQ menu using jQuery, but I'm getting an
I'm trying to create a form with a submit button via jQuery using append().

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.