1

Error while clicking on place order button, how to trace this error (in which file ),

in order to fix it - Uncaught TypeError: Cannot read property 'trim' of undefined

4
  • Did you found any solution on this?
    – sandip
    Apr 4 '20 at 10:28
  • Yes , its because var was undefined and trim method was attached to it. Apr 4 '20 at 10:34
  • 1
    you can add the answer to your own question (what you did to resolve) so if someone faces this issue so your answer can help.
    – sandip
    Apr 4 '20 at 10:35
  • 1
    Yup great idea , thanks :) Apr 4 '20 at 10:41
0

Variable was undefined , that is why trim method was throwing error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.