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

uncaught typeerror $(...)payform is not a function #65

Open
msb78600 opened this issue May 8, 2019 · 1 comment
Open

uncaught typeerror $(...)payform is not a function #65

msb78600 opened this issue May 8, 2019 · 1 comment

Comments

@msb78600
Copy link

msb78600 commented May 8, 2019

<script src="https://code.jquery.com/jquery-1.11.2.min.js" type="text/javascript" charset="utf-8"></script> <script src="~/payform-master/dist/jquery.payform.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" charset="utf-8"> $(document).on('change', '#CreditCardNo', function () { $('#CreditCardNo').payform('formatCardNumber'); $('#expiry').payform('formatCardExpiry'); $('#CVC').payform('formatCardCVC'); $('#numeric').payform('formatNumeric'); }); </script>

asass

I am coding in ASP.NET MVC 5 and i am facing the error uncaught typeerror $(...)payform is not a function and i m stuck here i included all the libraries in my project downloaded from GitHub Jquery

@ddayguerrero
Copy link
Collaborator

Hey @msb78600, looking at the snippet you shared. I assume that you have jquery and the existing elements (e.g. #CreditCardNo, #expiry, etc.), is that correct?

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

2 participants