How do I parse an url with jquery/ javascript?
For instance I have this in my string,
http://mysite.com/form_image_edit.php?img_id=33
I want to get the value of img_id
I know I can do this easily with php with parse_url()
, but I want to know if it is possible with javascrip.