Salve a tutti, vi ringrazio in anticipo dato che fin'ora avete risolto tutti i miei casini
Ora, ho uno scripterino:
codice:
  	// <![CDATA[
  function check(Form)
 {
  sAlert1 = "Inserire ";
  sAlert2 = "Inserire il proprio nome utente";
  if (Form.username.value == "")
 {
  Form.nome.focus();
  alert(sAlert2);
  return (false);
 }
  if (Form.password.value == "")
 {
  Form.password.focus();
  alert(sAlert1 + "la propria password");
  return (false);
 }
     // ]]>
E lo metto tra i tag style nell'html.. poi nel form metto:
codice:
<form class="login" method="post" action="./login.php" accept-charset="utf-8" onsubmit="return check(this)" >
e nei campi:
codice:
<input type="text" class="field text" name="username" id="username" value="" />
e:
codice:
<input type="password" class="field text" name="password" id="password" value="" />
Non funziona.. why?

Grazie a tutti