How to send url in cleaner way in jquery php?
<p>Ok i want to send a complete url to a php file which also consists parameters suppose url is like folder/test.php?parm1=19&amp;parm2=119&amp;param3=345.<br>
What iam doing is putting it like this following is pesudocode</p>

<pre><code>var urlParameter="urlparameter="+(above url)
$.ajax({
type: "POST",
url: "some.php",
data:urlParameter ,
}).done(function( msg ) {
alert( "Data Saved: " + msg );
});
</code></pre>

<p>now in some.php when i will access the urlParameter i will not get my complete url i will only get </p>

<pre><code>folder/test.php?parm1=19
</code></pre>

<p>for making complete complete url i have to get the param2 value and param3 and then again form url again this work fine but is there is a better way to send complete url with parameters in jquery?</p>
