Comments (8)
You are getting a jQuery error at b (jquery.min.js?afver=722:2)
but this code doesn't use Jquery at all. Also make sure to use the latest version of card from our Dist: https://github.com/jessepollak/card/tree/master/dist
from card.
But I would like to know about this error : Card can't find a numberInput in your form. What´s the problem ?
from card.
I have no idea your error is a Jquery error so you need to debug why. It seems like your page has some JS loading problems on it. I don't think this is related to Card.
from card.
My form has this name : form_Doador, I need to chance, 'form' :
var card = new Card({ // a selector or DOM element for the form where users will // be entering their information form: 'form', // *required* // a selector or DOM element for the container // where you want the card to appear container: '.card-wrapper', // *required*
from card.
no you would need to change form: 'form',
to form: 'form_Doador',
from card.
I change and now, I have this error, in this line :
e.find = function(r, e) {
return (r instanceof NodeList || r instanceof Array) && (r = r[0]),
r.querySelectorAll(e)
}
Uncaught TypeError: Cannot read property 'querySelectorAll' of undefined
at Function.e.find (:1:3462)
at e.render (:1:7417)
at new e (:1:4233)
at :2:28
at b (jquery.min.js?afver=722:2)
at Ie (jquery.min.js?afver=722:2)
at k.fn.init.append (jquery.min.js?afver=722:2)
at k.fn.init. (jquery.min.js?afver=722:2)
at _ (jquery.min.js?afver=722:2)
at k.fn.init.html (jquery.min.js?afver=722:2)
from card.
Once again that is a Jquery error and this component does not use Jquery. I think you should ask this problem on Stack Overflow. Closing ticket.
from card.
from card.
Related Issues (20)
- Expiry date mask not working on mobile. HOT 16
- How to remove the input whitespaces when entering a card number? HOT 2
- Demo 404s HOT 3
- This project is being used in suspicious site HOT 2
- Mastercard Not recognized HOT 5
- Card Number Can't Be Blur In IOS When Input Card Numbers HOT 10
- Credit Card with RTL the float:right makes a problem HOT 1
- Cannot read properties of undefined (reading 'replace') HOT 6
- Card Info storage to database. HOT 1
- how to flip card from js code HOT 7
- Show card without inputs HOT 3
- Add CSS variable support for card colors HOT 3
- Card credit
- Demo link is broken in the readme file HOT 2
- npm install errors HOT 10
- Credit Card Expiration Date Format Not Accepted Error HOT 13
- How to get the card type (visa, mastercard, etc.) so I can pass that info to payment gateway HOT 4
- It does not work HOT 2
- not sure if this is still relevant but for people with the same question: you can use the bin of the card to decode if it's type, the bin is the bank identification number of each card and it identifies a card down to the bank which issued it, with a BIN API like the one from binlist.io you are easily able to check which card goes with which card type. HOT 1
- pleasss.. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from card.