我可以在不提交的情况下获取URL内容吗?

i generate link with

<a onclick="window.history.pushState('', '', '?id=<?php echo $row['id']; ?>');"

and it generated URL like this

http://localhost/dpmerzon/order.php?id=MT01

"MT01" is example id for every link i pressed

So can i get "MT01" value with (PHP) $_GET['id'] without submitting the URL ?

you have to use AJAX if you want to submit somthing in background explaine more what you gona do may can i help you