Jump to content

need help with html error


Guest vernitude

Recommended Posts

Guest vernitude

Can anyone tell me if this code has a error or if something is incorrect? Or do I need to add more? Thanks thisCreditCardNumber = "XXXX-XXXX-XXXX-" + thisCreditCardNumber.substring(15,19); for(var i = 0; i < qty.length; i++) if( !valid(qty) ) { alert("Quanity" + (i+1) + " must be an integer greater than or equal to zero!"); return; }I figured it out. Teachers examples and help are no good err. All my quantity's needed to be Qty like everywhere else in code. The spelled out word helps none and lower case on the others either. Thanks but I got it hehe.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...