<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "h t t p : / / w w w . w 3 . o r g / T R / x h t m l 1 / D T D / x h t m l 1 - t r a n s i t i o n a l . d t d">
<html xmlns="h t t p : / / w w w . w 3 . o r g / 1 9 9 9 / x h t m l">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<script>
// Esto lo pones en un bloque <script> declarado en <head>
function redireccion(valor) {
location.href = 'w w w . m i s i t i o . c o m/'+valor
}
</script>
</head>
<body>
<form id="form1" name="form1" method="post" onSubmit="redireccion(this.texto.value)">
<p>REF</p>
<label>
<input type="text" name="texto" id="texto" />
</label>
</p>
<p>
<input type="submit" name="button" id="button" value="Enviar" />
</p>
</form>
</body>
</html>