[Solved] paypal javascript drop drop down menu check box [closed]


I responded on Facebook with an updated jsFiddle but thought I would post here just in case. It was a jsFiddle setting combined with missing curly braces in the if statements and setting the amount as an integer instead of a string.

function CalculateOrder(form)
{   
    //sample lang to sir ng javascript pero ito mismo na yung code.
    //naka comment sa html ung code sa php 
    if(form.text008.value == "1br")
    {
        form.amount.value ="119.00";
    }

    if(form.text008.value == "1br" && form.extrass.checked ==true)
    {
        form.amount.value = "139";
    }
}

1

solved paypal javascript drop drop down menu check box [closed]