Guest vernitude Posted October 20, 2005 Share Posted October 20, 2005 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 More sharing options...
F-Man Posted October 20, 2005 Share Posted October 20, 2005 For future reference that's Javascript. =) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now