|
Ahh. My arch nemesis, _javascript_. I am having
issues with this piece of code:
function checkCCAccount(Ticket)
{
Pmt = Ticket.PaymentType.selectedIndex if (Ticket.PaymentType.options[Pmt].value == 1); { alert(Ticket.PaymentType.options[Pmt].value + "You must enter the account information if you are paying by Corporate Check"); } else if (Ticket.PaymentType.options[Pmt].value == 3); { alert(TIcket.PaymentType.options[Pmt].value + "Please note that your credit card will be process at the time of the service call"); } else if (Ticket.PaymentType.options[Pmt].value == 4); { alert(TIcket.PaymentType.options[Pmt].value + "Please note that your credit card will be process at the time of the service call"); } else if (Ticket.PaymentType.options[Pmt].value == 5); { alert(TIcket.PaymentType.options[Pmt].value + "Please note that your credit card will be process at the time of the service call"); } else (Ticket.PaymentType.options[Pmt].value == 6); { alert(TIcket.PaymentType.options[Pmt].value + "Please note that your credit card will be process at the time of the service call"); } } I keep getting a syntax error. Any
takers?
Thanks,
Bruce
|
- RE: JavaScript Bruce Sorge
- RE: JavaScript Jacob Cameron
- Re: JavaScript Bruce Sorge
- RE: JavaScript Daniel Elmore
- RE: JavaScript Jacob Cameron
- Re: JavaScript Nate Nielsen
- Re: JavaScript S . Isaac Dealey
- Re: JavaScript Kevin McGlynn
- Re: JavaScript rick
- Re: JavaScript S . Isaac Dealey
