salam...
mcm mana ek nak buat Javascript score mark..
benda ni dah 3 hari sangkut..last2 terpaksa gak masuk forum putera ni...
Javascript ni aku buat ikut itnet ajer... rasanya Javascript nii ada yg tak kena ... sebab dia tak leh running... heheh
</script>
<SCRIPT LANGUAGE=JAVASCRIPT>
function calc()
{
var a = form2.BM1.value;
var c = (a-0) + ;
if(c=>80)
{
document.write("A");
}
else if (c=>60)
{
document.write("B");
}
else if (c=>40)
{
document.write("C");
}
else if (c=>20)
{
document.write("D");
}
else (c=>0)
{
document.write("E");
form2.GRED_BM1.value = c;
}
</SCRIPT>
actuly aku nak buat dia cam ni...
78 = B
84 = A
dsb
mitak tlg kepada otai2.... salam n tq
mcm mana ek nak buat Javascript score mark..
benda ni dah 3 hari sangkut..last2 terpaksa gak masuk forum putera ni...
Javascript ni aku buat ikut itnet ajer... rasanya Javascript nii ada yg tak kena ... sebab dia tak leh running... heheh
</script>
<SCRIPT LANGUAGE=JAVASCRIPT>
function calc()
{
var a = form2.BM1.value;
var c = (a-0) + ;
if(c=>80)
{
document.write("A");
}
else if (c=>60)
{
document.write("B");
}
else if (c=>40)
{
document.write("C");
}
else if (c=>20)
{
document.write("D");
}
else (c=>0)
{
document.write("E");
form2.GRED_BM1.value = c;
}
</SCRIPT>
actuly aku nak buat dia cam ni...
78 = B
84 = A
dsb
mitak tlg kepada otai2.... salam n tq
Last edited by emeronyr on Sun Aug 23, 2009 4:10 pm; edited 1 time in total