Direi...
codice:
XHTML
<form action="ricerca.asp" method="get">
<fieldset>
<legend>Cerca nel sito</legend>
<label for="ric">Parola:</label>
<input id="ric" name="ric" type="text" size="12" />
<input id="invia" type="submit" value="cerca" />
</fieldset>
</form>
Javascript
window.onload = function()
{
var testo = document.getElementById('ric')
var invia = document.getElementById('invia')
invia.setAttribute('disabled', 'disabled')
testo.onkeyup = function()
{
invia.removeAttribute('disabled')
}
}
Prova: spero che funzioni.