How to get url with Jquery and PHP
Published February 24th, 2010 in JavaScript, PHP, Programming Tags: No Tags.current URL in address bar
PHP
$pageURL= $pageURL= $_SERVER["REQUEST_URI"].$_SERVER["REQUEST_URI"];
Jquery
$(document).ready(function() {
var pathname = window.location.pathname;
alert (pathname);
});
Categories |
||||
No Comments to “How to get url with Jquery and PHP”
Please Wait
Leave a Reply