sir i have a sample code. i really dont get it.. im really confused.. huhuhu...
this is my main page..
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script language="javascript">
function passParam(){
var url = "secondpage.html";
http.open("POST", url, true);
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
http.setRequestHeader("Content-length", params.length);
http.setRequestHeader("Connection", "close");
http.onreadystatechange = function() {
if(http.readyState == 4 && http.status == 200) {
alert(http.responseText);
}
}
http.send(null);
}
</script>
</head>
<body>
<form method="">
<input type="text" value="sample1" id="id1">
<input type="text" value="sample2" id="id2">
<input type="text" value="sample3" id="id3">
<input type="button" value="Go" onclick="passParam()">
</form>
</body>
</html>
this is my secondpage named secondpage.html.
i dont know how to get the value of my textbox 3.
<script language="speedscript">
GET-VALUE("id3")
</script>
what is wrong?? huhuhuhu..
(