Posted By

srka on 01/06/12


Tagged

url js parse prototype uri parameters


Versions (?)

Parse URI parameters with Prototype JS


 / Published in: JavaScript
 

This will return the value of "param" form the URI. For example if you have

www.example.com/index.html?param=some_value

it will return "some_value".

NOTE! This only works if you use Prototype JavaScript framework.

  1. document.URL.toQueryParams().param

Report this snippet  

You need to login to post a comment.