Is there any way to check with jQuery for POST within the URL similar to the PHP way?
PHP version:
if(!empty($_GET)) { // do stuff }
Sorry. I mean GET not POST.
I'm looking to fetch the URL on the page load $(document).ready( function() { // here });
Example URL: http://www.domain.com?a=1
And than past value of the var a
into the function OnLoad();
extend jquery to get the url vars
then you can call
you can also query a specific value by