Parse URI parameters with Prototype JS

/ Published in: JavaScript
Save to your folder(s)

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

it will return "some_value".

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

Copy this code and paste it in your HTML
  1. document.URL.toQueryParams().param

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.