0

Jquery on sololearn compiler

hello, trying to plug jquery, but it's not work. Can anybody help?

11th Aug 2018, 7:53 AM
Kikita
Kikita - avatar
3 ответов
+ 4
What exactly are you doing? Web codes run using your device's webview. Not on sololearn's compiler like non-web codes. Can you please provide a code link so we can help you?
11th Aug 2018, 10:07 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 3
It's not working because you forgot to wrap your code inside the document.ready event. Here's a working code https://code.sololearn.com/WJ77K0PshqGg/?ref=app
12th Aug 2018, 8:19 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
0
https://code.sololearn.com/W3rNIqEkH5fz/?ref=app if o right understand, function onClick not working
11th Aug 2018, 2:23 PM
Kikita
Kikita - avatar