Javascript Radio Box

May 15, 2010 at 08:59:05
Specs: Windows Vista
Heya,

could someone help me with this site:
http://projectalphaonline.webs.com/...


it sets and displays the 'radio' variable fine, but
when it seems to not work to define which
method to take (always takes the GoW
route)...


See More: Javascript Radio Box

Report •


#1
May 15, 2010 at 09:22:44
In this function:

function submitscript() {
    if (radio = 0) {
        game = "Gmw"
    }
    else if (radio = 1) {
        game = "Ggow"
    }
}

what do you think the "=" operators inside the if statements
are doing?


Report •

#2
May 15, 2010 at 09:30:36
oh, snap!! i forgot about that!!

thx!!


Report •

Related Solutions


Ask Question