[eluser]Vi.[/eluser]
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<title></title>
[removed]
/* Clear function will clear the value Add your Input name below */
function clear(){
parent.document.forms[0].Keyword.value = ""; /* Reset keyword input name */
parent.document.forms[0].Where.value = ""; /* Reset Where input name */
}
[removed]
</head>
<body>
<?php
print_r($_POST); // Print posted data
?>
<form name="form" method="POST" enctype="application/x-www-form-urlencoded" action="">
<input name="Keyword" value="asddd" />
<input name="Where" value="" />
<input type="submit" name="submit" value="Send" />
</form>
</body>
</html>
Here is my code. I tried this code and It is working only with IE. Modern browsers use cache for fast Go back. You can check
this page to no-cache header. This is easy way to do.