Visa ett inlägg
Oläst 2007-03-25, 23:09 #2
lubic lubic är inte uppkopplad
Medlem
 
Reg.datum: Aug 2005
Inlägg: 205
lubic lubic är inte uppkopplad
Medlem
 
Reg.datum: Aug 2005
Inlägg: 205
Nästan i slutet av ditt javascript har du skrivit:

if (wordCount > 20) ;
returnValue = false;
alert("Du får inte svara med mer än 20 ord. Du skrev "+ wordCount + "ord.");
document.frmCompetition.txtTieBreaker.focus();
}

Men det bör nog vara:

if (wordCount > 20)
{
returnValue = false;
alert("Du får inte svara med mer än 20 ord. Du skrev "+ wordCount + "ord.");
document.frmCompetition.txtTieBreaker.focus();
}

Hoppas det löser ditt problem.
lubic är inte uppkopplad   Svara med citatSvara med citat