I have here a code that saves the data of the main.php contents
When viewing a certain list, I use a URL parameter for the php to generate.
ex: main.php?v=323&p=1
Now the problem is, I want it to be remove when I save the contents after I made changes. Here is the code I use for saving the form contents.
$.ajax({
type:'POST',
url:'/AJAXsave.php',
cache:false,
async:true,
global:false,
dataType:"html",
data:$('#form1contents').serialize(),
timeout:10000
});
I want those parameters to be removed (?v=323&p=1) upon the completion of the ajax post.