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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:38:41+00:00 2026-06-01T16:38:41+00:00

On my site, it displays a table of data. I’ve got a link that

  • 0

On my site, it displays a table of data.

I’ve got a link that will load another table of data from a URL.

$("#another").click(function() {
    var newGeneration = $('<p />').load('another.php?cycle=' + i);
    $('tbody').append(newGeneration);
    i++;
});

Is there a way to get it so that it doesn’t add a p tag and just directly load the file into the tbody? I tried changing it to tr, but that just made trs inside of trs.

The code that displays another result

echo "<tr>";
echo "<td>" . $keys[$k] . "</td>";
echo "<td>" . $jobs[$k] . "</td>";
echo "</tr>";

What I don’t want to happen (like it is now)

don't want the p tag here

  • 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-01T16:38:42+00:00Added an answer on June 1, 2026 at 4:38 pm

    I think its better to send a get request instead of complicating the use of load.

    $("#another").click(function() {
        $.get('another.php', { 'cycle' : i }, function(data) {
             $('tbody').append(data);
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site that displays data on travel products from a MySQL database.
Another lame question So, I have a site that displays several students' requests to
I have a webpage on my site that displays a table, reloads the XML
A site I'm working on takes table data, counts that table data and uses
I have a site that displays other sites through an iframe on certain pages.
I am trying to set up a page on a wordpress site that displays
I have a site (link below) where the clients work displays on a long
i would like to have a block on my drupal site(latest version) that displays
In the code below, $row['site'] is an URL. In Chrome and IE8, it displays
I am working on a site that needs to display inventory data. I am

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.