Cannot read property 'trim' of undefined
何人不识君
何人不识君 2018-09-01 10:19:06
0
3
1851

login:52 Uncaught TypeError: Cannot read property 'trim' of undefined

at dologin (login:52)

at HTMLButtonElement.onclick (login:38)

How to solve this

何人不识君
何人不识君

reply all(2)
何人不识君

$ = layui.jquery;

jquery is written wrong

I always write it wrong and I also write it wrong


MO_ON

Is this JS? There is no built-in trim method in the JS script, so an error is prompted. You need to write this class or function by hand.

Or you can refer to this article

js trim function to delete spaces at both ends


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template