Funcion para eliminar objetos

jah310
11 de Septiembre del 2003
Hola! Alguien sabe alguna funcion para borrar un objeto (ej: un menu desplegable o caja de texto)?

pakiki
11 de Septiembre del 2003
<html>
<head>
<title>Untitled</title>
<script>
function box ()
{
document.all.myp.innerText = "";
}
</script>
</head>
<body>
<form name=formu>
<p id="myp">El enlace</p>

<input type="button" value="borra" onClick="box()">
</form>
</body>
</html>