View Single Post

Old 06-26-2007, 02:27 AM   #1 (permalink)
liam uk
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 liam uk is on a distinguished road
can someone tell me whats wrong with this javascript?

i want it so that if somebody types test, an alert box goes off saying "this finally works":if (document.former.cmdbar.value=="test"){alert ('this finally works')}else{alert ('yay')}on 4th line it's:if (document.former.cmdbar.value=="test")i dunno why but it got cutnvm it keeps gettin cut
__________________
liam uk is offline   Reply With Quote