<scriptlanguage="javascript"type="text/javascript"> /* Visit http://www.yaldex.com/
for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin function
replaceChars(entry){ out ="a";// replace this add="z";// with this temp =""+
entry;// temporary holder
while(temp.indexOf(out)>-1){ pos=
temp.indexOf(out); temp =""+(temp.substring(0,
pos)+add+ temp.substring((pos
+
out.length),
temp.length));
} document.subform.text.value=
temp;
} // End --> </script> In this example, all "a" characters are
changed to "z" <BR> <formname="subform">