Suppose that I have a URL like the following:
http://localhost:8000/intranet/users/view?user_id=8823
Now, all I want to do is to get the value of the URL using JavaScript and parse it, taking the user_id
value (which is 8823 in this case) and sending that value through an iframe
.
How can I do this?