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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:01:02+00:00 2026-05-23T05:01:02+00:00

I dont know how write this script. I need load results with some URL

  • 0

I dont know how write this script. I need load results with some URL (eg: localhost/index.php?action=get&type=29) and this result to give a variable for further processing. I need create this on Jquery. Thanks.

  • 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-23T05:01:03+00:00Added an answer on May 23, 2026 at 5:01 am

    There are features in jQuery that can be used, you have either a quick load using the simple .load() function that will parse the HTML into an element. Usage:

    $('#element').load('http://www.urlgoeshere.com/');
    

    With processing events with AJAX with further writing options, you have many options to choose from:

    • http://api.jquery.com/jQuery.ajax/

    These options below are using the .ajax() function but makes the writing easier:

    • http://api.jquery.com/jQuery.get/
    • http://api.jquery.com/jQuery.post/

    EDIT: With your “refresh”, you can use the setTimeout function to repeat the ajax call:

    setTimeout(function()
    {
        $.ajax({
            type: "POST",
            url: "some.php",
            data: "action=get&type=29",
            success: function(arg){
                // do something
            }
        });
    }, 1000); // This will "refresh" every 1 second
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a crude korn shell script that someone else wrote. I don't know
Cappuccino is one. With Cappuccino, you don't need to know HTML. You'll never write
I am using this script to display MYSQL data, but I need to make
how do you execute a php script on a site thats not mine?i need
I need to write a Perl script to read in a file, and delete
I need to write some scripts for WinXP to support some of the analysts
I need to write a shell script to run as a cron task, or
I write a sh script (test.sh) like this: #!/bin/sh echo $@ and then run
I don't know how to use Quartz.dll in ASP.NET. Where should we write the
I'm planning to write an operating system and I don't know very much about

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.