Morgen,
function alc()
{if(document.form1.fALV.value="")
an dieser stelle erfolgt eine wertzuweisung, du musst allerdings auf identität prüfen. (document.form1.fALV.value == "")
{
document.form1.fALV.value="ALC";
}
else
document.form1.fALV.value="";}
der rest stimmt.
Gruß
Phil