Reply
Validate credit card number using JavaScript.
Old 03-03-2008, 07:58 AM Validate credit card number using JavaScript.
Ali_GGL's Avatar
Junior Talker

Posts: 4
Name: ALi
Hi
Any one knows how to validate a valid credit card number using JavaScript and what are the rules to be follow while

making logic please guide me as soon as possible.
Thanks.

Ali.
__________________
webmaster http://www.globalguideline.com
Ali_GGL is offline
Reply With Quote
View Public Profile Visit Ali_GGL's homepage!
 
When You Register, These Ads Go Away!
Old 03-03-2008, 09:12 AM Re: Validate credit card number using JavaScript.
chrishirst's Avatar
Super Moderator

Posts: 15,217
Location: Blackpool. UK
Google does
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-03-2008, 11:37 AM Re: Validate credit card number using JavaScript.
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
The question is...why would you want to? If you've got a payment processor in place, they should be the ones doing the work. The thing that scares me about Javascript validation on something like this is that there's no way to verify whether or not the check-digit formula is accurate, and whether or not it changes.

Let the processors be responsible for this stuff.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Validate credit card number using JavaScript.
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11730 seconds with 12 queries