Non è andato ot. Hai / avevi due "submit" sullo stesso tag.
Non è andato ot. Hai / avevi due "submit" sullo stesso tag.
Ridatemi i miei 1000 posts persi !!!!
Non serve a nulla ottimizzare qualcosa che non funziona.
Cerco il manuale dell'Olivetti LOGOS 80B - www.emmella.fr
io intendevo che il bottone deve essere type="button" ... e avesse l'evento onclick attivato verso la fnzione di controllo formale dei dati...
e la funzione Seleziona attivarla solo dopo aver fatto i controlli di validita formali...
E' chiaro che il submit non parte se uno dei controlli formali non viene superato perchè nessuno script chiama la funzione Seleziona(pagina da lanciare) che viene chiamata solo alla fine dei controlli formali se tutto è OK...... non so se mi sono spigato correttamente
ciao
Vic53
Tratto da w3schools.com
Always specify the type attribute for a <button> element. Different browsers use different default types for the <button> element.
Ridatemi i miei 1000 posts persi !!!!
Non serve a nulla ottimizzare qualcosa che non funziona.
Cerco il manuale dell'Olivetti LOGOS 80B - www.emmella.fr
http://www.w3.org/TR/2011/WD-html5-2...n-element.htmlThe type attribute controls the behavior of the button when it is activated. It is an enumerated attribute. The following table lists the keywords and states for the attribute — the keywords in the left column map to the states in the cell in the second column on the same row as the keyword.
Keyword State Brief description submit Submit Button Submits the form. reset Reset Button Resets the form. button Button Does nothing.
The missing value default is the Submit Button state.
Ultima modifica di lucavizzi; 19-12-2015 a 15:15 Motivo: ampliamento citazione