Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q69 How do I access to the part of the URL after the "?" character?

You are here: irt.org | FAQ | JavaScript | Link | Q69 [ previous next ]

var text = window.location.search.substring(1);

Which returns everthing after the '?'.

This DOES work on Internet Explorer - it just doesn't work when tried from a page on your file system, once uploaded to a server it WILL work!

Feedback on 'Q69 How do I access to the part of the URL after the "?" character?'

©2018 Martin Webb