hi,
I got a problem with a standard if... else if sentence. Each one works
alone, (ie. putting a /*..*/ around one of the conditions)but by
combining them, only the first one triggers. The code :
function sjekk()
{
if (window.document.info.organisasjon.value =='')
{
alert('hey!');
return(false);
}
else {
if (window.document.info.check_feste.checked == false)
{
var answer = confirm('Continue?');
if (answer) {
return (true);
}
else {
return(false);
}
}
}
}
obscurr