Southperry.net
Need helps with JavaScript - Printable Version

+- Southperry.net (https://www.southperry.net)
+-- Forum: Social (https://www.southperry.net/forumdisplay.php?fid=14)
+--- Forum: Rubik's Cube (https://www.southperry.net/forumdisplay.php?fid=58)
+--- Thread: Need helps with JavaScript (/showthread.php?tid=49689)



Need helps with JavaScript - Unauthorized Intruder - 2011-12-14

I want the page to show texts varies value "id" sent to the page. Example:

/forum.php?id=0

That's "id" I'm talking about. I can write JavaScript, I just don't know how to get the id value.


Need helps with JavaScript - Fiel - 2011-12-14

There are two ways to do this easily. You can either include it in a javascript section in the HTML or you can use a jQuery plugin.

http://www.mathias-bank.de/2007/04/21/jquery-plugin-geturlparam-version-2/