InternettinHoca adlı üyeden alıntı: mesajı görüntüle
var parser = document.createElement('a');parser.href = "http://example.com:3000/pathname/?search=test#hash";parser.protocol; // => "http:"parser.host;     // => "example.com:3000"parser.hostname; // => "example.com"parser.port;     // => "3000"parser.pathname; // => "/pathname/"parser.hash;     // => "#hash"parser.search;   // => "?search=test"parser.origin;   // => "http://example.com:3000"
örnekte olduğu gibi url'yi parse ederek hash bilgisini alabilirsin hocam

bunu tam anlamadım hocam birde ekleme yamamışım şimdi farkettim eğer linkte #islemi_baslat ibaresi varsa php kodu çalıştırıcam.. bu şekilde bi örnek paylaşırmısınız rica etsem