ciao, ho creato un banalissimo form per inserire nome e password. è normale che dopo la pressione del tasto submit i campi username e password vengono svuotati?
nel tag form, l'attributo action lo lascio tanto è solo un'esercizio di prova...
codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Esercitazione 1</title> </head> <body> <form method="get" action=""> <input type="hidden" name="lingua" value="italiano" /> USER_ID: <input type="text" name="user_id" /> Password: <input type="password" name="password" /> <input type="submit" name="SUBMIT"/> <input type="reset" name="RESET" /> </form> </body> </html>

Rispondi quotando