<SCRIPT>
Function request (key)
{
If (typeof (this) = "undefined") return false;
If (this. length> 0)
{
VaR S = This. Split ("&");
For (var I in S)
{
VaR sp = s [I]. Split ("= ")
If (SP [0] = Key) Return (SP [1]);
}
Return false;
}
Else return false
}
Function getallkey ()
{
If (typeof (this) = "undefined") return false;
VaR arr = new array;
If (this. length> 0)
{
VaR S = This. Split ("&");
For (var I in S)
{
VaR sp = s [I]. Split ("= ");
Arr. Push (SP [0]);
}
Return arr;
}
Else return false
}
String. Prototype. Request = request
String. Prototype. getallkey = getallkey
// ================================================ ==================
VaR url = location. Search. substr (1) // action = reply & Forum = 3 & topic = 1469.
VaR Arg = URL. getallkey ()
Alert (ARG)
Document. Write ("Submit parameter:" + Arg)
For (VAR cou in Arg)
Document. Write ("<br> parameter" + Arg [cou] + "value:" + URL. Request (ARG [cou]) + "<br> ")
</SCRIPT> # JavaScript/ajax Column