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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:57:15+00:00 2026-05-27T16:57:15+00:00

I am using jquery ajax get. SO when my form is submitted it then

  • 0

I am using jquery ajax get.

SO when my form is submitted it then submits to a php file but the url stays the same because i am using ajax.

$('#search').submit(function() {

$.get("http://example.co.uk/ajax/post.php", $(this).serialize(),
 function(response){

     $('#content').html(response.content);


   },"json");

 return false;
}); 

Ok this work url will stay the same. http://www.example.com

ok if i remove the return false so i get the default functionality of the form i get the following.

www.example.com?name=test&location=wales

ok here is what i am looking for i want to use ajax but still have the params appended to the title reason for this is i want my url to be shared with others so it will pull down the params from it.

example

www.example.com // will just so the basic page

but

www.example.com?name=test&location=wales // will show the page specific to wales 

Any help please???

  • 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-27T16:57:15+00:00Added an answer on May 27, 2026 at 4:57 pm

    You’d probably need to use the hash (.com/#) in order for this to happen as you can’t just edit the URL.

    Ben Alman’s jQuery hashchange event plugin is probably a good start. It allow you to detect when it changes.

    This tutorial may also help: Enabling the Back Button by jQuery for Designers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I make an AJAX request like so using JQuery: $.ajax({ type: GET, url: getvideo.php,
When I try to get the response from a php file using Jquery ajax,
I'm using the script from http://webdeveloperplus.com/jquery/ajax-multiple-file-upload-form-using-jquery/ I modified the onComplete to add a link
I'm posting data using jquery/ajax and PHP at the backend. Problem being, when I
When using jQuery 's ajax method to submit form data, what is the best
I'm using the jQuery Form plugin to do an 'ajax' submit of my form,
I am trying to submit a form using jQuery's .ajax() function. It seems like
I'm posting a form to an MVC action using jquery Ajax. Server side, I
Whats the best way to hookup AJAX functionality to an existing Form using jQuery
I'm trying to get a textbox value which contains > symbol using jQuery ajax

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.