ti ringrazio tantissimo ma ho appena risolto dopo averci sbattuto un po la testa con questo script... solo un po adattato al codice asp:
codice:<html> <head> <SCRIPT LANGUAGE="JavaScript"> function mod() { if (document.getElementById('name').value != ''){ display_block(); } else{ hide_block(); } } function display_block() { document.getElementById('asd').style.display = "block"; } function hide_block() { document.getElementById('asd').style.display = "none"; } </SCRIPT> </head> <body> <form> <input type="text" id="name" name="nome" onkeyup="javascript:mod();"> <table id="elemento1"> <tr> <td> <div id="asd" style="display:none"> <input type="submit" value="Invia" /> </div> </td> <tr> <table> </form> </body> </html>

Rispondi quotando