Hello,
I've got the URL: preview.html?name=Mr.%20Smit&Adres=Firststreet%205
now the page has to be look like:
Name: Mr. Smit
Adres: Firststreet 5
Now the problem, how to do that?
<html>
<body>
Name:
<SCRIPT LANGUAGE=javascript>
var s = document.location.search;
s = s.replace(/\?name=/, ""
s = s.replace(/%20/g, " "
s.split("\&"
s[1] = s[1].replace(/adres/, ""
document.write(s[0]);
document.write("<BR>" + "Adres:" + s[1])
//-->
</SCRIPT>
</BODY>
</HTML>
It's nice, but it doesn't work. So please help?
Thanks Charl
I've got the URL: preview.html?name=Mr.%20Smit&Adres=Firststreet%205
now the page has to be look like:
Name: Mr. Smit
Adres: Firststreet 5
Now the problem, how to do that?
<html>
<body>
Name:
<SCRIPT LANGUAGE=javascript>
var s = document.location.search;
s = s.replace(/\?name=/, ""
s = s.replace(/%20/g, " "
s.split("\&"
s[1] = s[1].replace(/adres/, ""
document.write(s[0]);
document.write("<BR>" + "Adres:" + s[1])
//-->
</SCRIPT>
</BODY>
</HTML>
It's nice, but it doesn't work. So please help?
Thanks Charl