Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE issue on CardProduct function #125

Open
joanrm20 opened this issue Feb 18, 2014 · 0 comments
Open

IE issue on CardProduct function #125

joanrm20 opened this issue Feb 18, 2014 · 0 comments

Comments

@joanrm20
Copy link

I'm using this plugin on some project, but seems that in ie8 this exactly in this part of the function some code is not supported by ie8:
this.name = {
isFilled: this._isCardNameFilled.bind(this),
isValid: this._isCardNameValid.bind(this)
};
this.number = {
isFilled: this._isCardNumberFilled.bind(this),
isValid: this._isCardNumberValid.bind(this)
};
this.exp = {
isFilled: this._isCardExpirationFilled.bind(this),
isValid: this._isCardExpirationValid.bind(this)
};
this.cvc = {
isFilled: this._isCardCVCFilled.bind(this),
isValid: this._isCardCVCValid.bind(this)
};

So always the console of ie is showing me an error("Object doesn't support this property or method").
The plugin works really fine even with this error, I just added a try catch sentence and if the error happens this sentence will handle the error an avoid send it to the user.

I don't know if there are another way to solved it? In my case this works for me. could be helpful for someone while a patch or a better solution is applied for this. :)

PS: just trying to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant