hye all, i'm new with javascript thing
can someone show me how to convert the asp code (given below) to javascript..
please help me
Function getID(instring)
if instr(instring,"light") or instr(instring,"lite") then
getID=7
elseif instr(instring,"mix") then
getID=8


