没有合适的资源?快使用搜索试试~ 我知道了~
detect-card-js:使用此 JQuery 插件自动检测信用卡类型
共34个文件
js:8个
rb:4个
html:3个
需积分: 11 0 下载量 128 浏览量
2021-07-11
14:01:15
上传
评论
收藏 107KB ZIP 举报
温馨提示
检测卡-js 使用此 JQuery 插件自动检测支付卡类型 用法 这很简单: 使用 JQuery 找到您的卡号输入字段,即$('input#cardNumber') 在输入字段上调用.detectCard() 监听cardChange事件 例子 $ ( "input#cardNumber" ) . detectCard ( ) . on ( "cardChange" , function ( e , card ) { // Assuming input of card number: 4111 111 1111 1111 console . log ( card . type ) ; // => "visa" } ) ; 自定义支持的卡类型 您还可以选择您想要支持的卡类型 $ ( "input#cardNumber" ) . detectCard ( { suppor
资源推荐
资源详情
资源评论
收起资源包目录
detect-card-js-master.zip (34个子文件)
detect-card-js-master
features
support
env.rb 152B
detect_card_type_developer.feature 475B
detect_card_type.feature 3KB
step_definitions
observation_steps.rb 469B
developer_steps.rb 776B
input_steps.rb 244B
supported_types.feature 369B
Rakefile 2KB
server.js 860B
tests
SpecRunner.html 2KB
spec
DetectCardHelper.js 83B
DetectCardSpec.coffee 942B
DetectCardSpec.js 1KB
lib
jasmine-1.3.0
jasmine-html.js 20KB
jasmine.css 6KB
MIT.LICENSE 1KB
jasmine-jquery.js 9KB
jasmine.js 69KB
index.html 840B
Gemfile 150B
Gemfile.lock 1KB
.idea
dictionaries
chris.xml 164B
.ruby-gemset 15B
server.coffee 592B
examples
example.html 1017B
example.css 685B
cards.png 20KB
cards_small.png 14KB
.ruby-version 6B
.gitignore 7B
lib
jquery-1.8.2.min.js 91KB
detect-card.js 3KB
detect-card.coffee 2KB
README.md 1KB
共 34 条
- 1
资源评论
马福报
- 粉丝: 20
- 资源: 4570
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功