View Full Version : no cache in input of text type

07-27-2006, 10:45 PM
I do not know if this one is the indicated forum but I want to be able do that my fields input of the type text do not save the cache. Regards

* sorry if my english is bad.

07-27-2006, 10:52 PM
do you want the values to be '' (blank) when the page is refreshed?

07-27-2006, 11:03 PM
I do not want that the fields of text input store information

07-27-2006, 11:05 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<script language="JavaScript" type="text/javascript">

function ResetIPs(){
document.fred.reset(); // this line for all form elements

// these lines for specified elements
var args=ResetIPs.arguments;
for (var zxc0=0;zxc0<args.length;zxc0++){
var fld=document.getElementsByName(args[zxc0]);


<body onload=ResetIPs('n1','n2','n4')>
<form name="fred" >
<input name="n1" />
<input name="n2" />
<input name="n3" />
<input name="n4" />