|
Posted by Olli Mδntyranta on 12/12/06 10:39
sally jo wrote:
> What is the code that you use to put words int he input box that
> disappear when the user starts typing??
>
Or this:
<html><head><title></title>
<script type="text/javascript">
function ClearText(){
document.theBigForm.theField.value = "";
}
</script>
</head>
<body>
<form action="some.cgi" name="theBigForm">
<input id="inp1" value="hiihoo" name="theField"
onfocus="ClearText()"/>
</form>
</body>
</html>
rgrds,
Olli
Navigation:
[Reply to this message]
|