cosi:
codice:<html> <head> <script language="Javascript"> <!-- hide function insertf1(f1){ if(f1==""){ alert("compilare il campo"); return false;} else{ window.opener.document.Qform.tec.value=f1; window.close();} } // --> </script> </head> <body> <form name="Qform"> <input type="text" name="tec" size="20"> <a href="javascript:insertf1(document.Qform.tec.value);"> [img]salva.gif[/img]</a> </form> </body> </html>![]()