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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:59:25+00:00 2026-06-12T10:59:25+00:00

Greeting, fellow programmers, I have a problem…. keep in mind that I’m completely self-taught,

  • 0

Greeting, fellow programmers,
I have a problem…. keep in mind that I’m completely self-taught, so this may be a stupid question, but I’ve done hours of research and no one seems to have had the same problem..
I’m working on a php project and I need to be able to perform and ajax GET request, but then store the response as a string variable and perform some string methods on it. Is this possible? And if so, how do I do it.

Thanks in advance.

PS: I’ve been using JQuery’s .load() method to perform GET’s and POST’s.

  • 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-12T10:59:27+00:00Added an answer on June 12, 2026 at 10:59 am

    The following could be a better approach than using the .load function if you have to use it for other things than just interacting with the DOM.

    $.get("from-page.php", function(data) {
        var manipulated = data.substring(data.length, Math.ceil(data.length / 2));
        //any kind of manipulations you want
    
        $("#div").html(manipulated);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings, fellow coders! I have this table that contains categories and subcategories (actually I
Greeting! I have the following problem. I have a table with huge number of
I have a Javascript greeting that greets new users with a drop down banner
This is to create a greeting card application and here i have to change
greeting all i am working on school project and i have a problem with
Greeting to the community. This is my very first question. I had in mind
If I have an XML document like this: <root> <elem name=Greeting> Hello </elem> <elem
Greetings fellow amazonians We have certain f4v files from webtvinteractive.com that are not working
I have some JavaScript that should be getting this image URL[1] from an XML
I am creating a greeting card app.I have some existing templates and i also

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.