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 8512271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:14:02+00:00 2026-06-11T04:14:02+00:00

I have written a piece of JavaScript so that when a user hovers over

  • 0

I have written a piece of JavaScript so that when a user hovers over a specific piece of text in an a website, this pops up with a table.

Currently the tables content is hard coded with a couple of words for debugging purposes, and it appears as as desired.

The content html looks like –

<tr>
  <th>Name</th>
  <th>Age</th>
</tr>

<tr>
  <td>Jambo</td>
  <td>22</td>
</tr>

So the tables content shows the aforementioned.

I now want to make the content of the table based on the content of a report that is viewed by accessing a URL.

I did try this –

<tr>
  <td><a href="url">Link text</a></td>
</tr>

But of course this only provides a link to the report and not actually opens the content.

How can I do this?

  • 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-06-11T04:14:04+00:00Added an answer on June 11, 2026 at 4:14 am

    An absolute horrendous but quick way of doing this would be:

    1. Ajax Request your url
    2. Get table data with html tags as ajax responseText
    3. document.getElementById(‘yourmouseoverdivid‘).innerHTML = responseText

    Another better way would be:

    1. Using ajax fetch you table data as json
    2. Create nested tabular html elements using javascript and the fetched json Eg: document.createElement(‘table’)
    3. Append those elements to document.getElementById(‘yourmouseoverdivid‘)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this piece of code written in jQuery and PHP: <script type=text/javascript> $(document).ready(function(){
This is the piece of code I have written: <html> <head> <script type=text/javascript src=jquery-min.js></script>
I have written this piece of code that splits a string and stores it
I have this piece of javascript that is working. var footerColour = $.color.extract($(div#one.footer), 'background-color');
I have this function written: <script type="text/javascript"> function getStartDate(value) { $.post("gSearch.php", {dateSearch:value}, function(data){ $('#results').html(data);
I have written the following piece of code in my view page <script type=text/javascript>
I have just written a small piece of code and it struck me that
I have a piece of code that was written by someone else before the
I have a piece of html/javascript written in jQuery at http://pastebin.com/MzMPjtvF My issue is
I have written this piece of CF code to get and display the data

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.