Ciao a tutti. Ho il seguente script:
solo che alla sua apertura mi dà un messaggio di errore:codice:<form name="form1" method="post" action=""> <DIV id="divFileName" style="left: 0.98em; top: 1.2168em; width: 7em; height: 1.2168em; ">URL:</DIV> <INPUT NAME=txtImg ID="txtFileName" type="text" style="left: 8.54em; top: 1.0647em; width: 21.5em;height: 2.1294em; " tabIndex=10 onfocus="select()"> <DIV id="divAltText" style="left: 0.98em; top: 4.1067em; width: 6.58em; height: 1.2168em; ">Testo:</DIV> <INPUT type="text" ID="txtAltText" tabIndex="15" style="left: 8.54em; top: 3.8025em; width: 21.5em; height: 2.1294em; " onfocus="select()"> <DIV id="divTargetText" style="left: 0.98em; top: 6.9966em; width: 6.58em; height: 1.2168em; ">Target:</DIV> <INPUT type="text" ID="txtTargetText" tabIndex="20" style="left: 8.54em; top: 6.5403em; width: 21.5em; height: 2.1294em; " onfocus="select()"> <BUTTON ID=btnOK name="btnOK" style="left: 31.36em; top: 1.0647em; width: 7em; height: 2.2em; " type=submit tabIndex=40>OK</BUTTON> <BUTTON ID=btnCancel style="left: 31.36em; top: 3.6504em; width: 7em; height: 2.2em; " type=reset tabIndex=45 onClick="window.close();">Annulla</BUTTON> <input type="text" ID="txtFileName1" name="imgFilename" style="left: 8.54em; top: 1.0647em; width: 21.5em;height: 2.1294em; " tabIndex=10> </form>
Io non riesco a capire di che cosa parli, mi sapete dare una mano?Si è varificato un errore in questa finestra!
btnOK non definito!
Preciso che lo script in questione si apre in esploso da un'altr pagina, per l'esattezza un editor tetuale.
un grazie a chi mi aiuta!![]()