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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T13:51:18+00:00 2026-05-21T13:51:18+00:00

I have been looking around for a few hours trying to figure out how

  • 0

I have been looking around for a few hours trying to figure out how I am going to do this. I have ZERO experience with jQuery and I could never get it to work for me.

I basically have a Support system where a user can add replies to the tickets. Instead of POSTING the data the the same page and refreshing it, I was thinking after submitting it have it popup in the conversation.

I store all my data in a mySQL database, if that helps. So after submit, I get a mySQL refresh would do the trick? Again, I am a novice in this.

Just need a good nudge in the right direction. Some source code and links would be awesome too.

Thanks,
Coulton

  • 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-21T13:51:19+00:00Added an answer on May 21, 2026 at 1:51 pm

    jQuery ajax is your friend: http://api.jquery.com/jQuery.ajax/

    This will send data to the server asynchronously, and execute success or error depending on how the server responds. All of this is done without a page refresh. Whatever the server (PHP) returns from its method will be given to jQuery when it’s done, whether it be JSON, HTML, XML, and so on:

    var request = $.ajax({
        url: '/MyPHPAction',
        data: myFormValues,
        type: 'post',
        dataType: 'json' // or html, etc.
    });
    
    request.success(function(response, textStatus, jqXHR) {
        // in here, response is what was returned by PHP
    });
    
    request.error(function(jqXHR, textStatus, errorThrown) {
        // in here, you can get detailed information on why the request would have failed
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Been looking around for the last few days trying to figure out what the
I've been looking around the net for a good few hours now, trying to
I have been looking around the web for this but cannot really find a
So I am a little confused, I have been looking around trying to determine
I have been trying to work out the bug on this but can't seem
I've been looking around for ways to do this. How could I make it
I have been looking around for this but couldn't find an answer anywhere, so
I am new to java and have been looking at few tutorials around GIS
I have been looking around for a visualization framework that would aid graph visualization
I have been looking around for solutions, and tried to implement what is often

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.