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

  • SEARCH
  • Home
  • 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 5944133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:29:40+00:00 2026-05-22T16:29:40+00:00

The table has over hundred rows. I have already have a link that looks

  • 0

The table has over hundred rows. I have already have a link that looks like this:

<a href="javascript:teamviewerconnect('78978978')"><img src="http://internaleservername:2323/img/remote_small.png" alt="remote connection icon" border="0"></a>

What I would like to do is have a DIV open in the middle of the screen on top of everything displaying data that is in a variable that I have per row. I could create a div per row that is hidden but all the solutions I have found to show/hide a div on a click are reliant on the div id being unique. I am not sure if this is possible but the link above can’t change but can we get it to display automatically when that link is clicked without having to click another show/hide?

Any help would be much appreciated

  • 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-22T16:29:41+00:00Added an answer on May 22, 2026 at 4:29 pm

    First, to do the display of the div it sounds to me like you would be well-served with a jQuery dialog (or whatever JS framework you prefer). Other users have answered with was to display the div without jQuery. You can easily center this on the page.

    Then you’ll want to add an onClick event handler to each link, using code like @Gaby has posted (which uses jQuery)

    Inside the event handler function, as @Treemonkey pointed out, you can grab your extra data by pulling it out of $(this)

    $('a[href|="teamviewerconnect"]').click(function(){
       //Get whatever data you need like
       var idNumber = $(this).attr('href').split("'")[1];
       //Use that data to update the HTML of your div if needed, or do an ajax query here
       $('#mydialogdivid').html('<p>Blah Blah Blah ' + idNumber);
       $('#mydialogdivid').dialog();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table that has grown to over 1 million records... today (all
My user table has over 26 columns, is that normal? The db is already
Say if I have a large dataset, the table has well over a million
I recently took over a project that has a pretty dirty database... The table
I have a table that logs user changes with this definition: audit_trail ( change_id
I just added a new column to a table which has over 1000 rows
I have a table that has 8 million records, with many fields, including lat/long
I have a MS SQL table that I don't have any control over and
I have a table inside a hyperlink: <a href=/><table><tr><td>...</td></tr></table></a> In all browsers, hovering over
I have a table which is full of arbitrarily formatted phone numbers, like this

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.