+ 3
Codes not working at playground
Hallo, Can anybody tell what am I doing wrong, because all of this codes doesnât work in SoloLearn Playground. I wrote them at my iOS device and here is no problem. Thank you Pap https://code.sololearn.com/WAq9wr2xg6S4/?ref=app https://code.sololearn.com/WAP61q424wBd/?ref=app https://code.sololearn.com/W5zwDz9ofTBN/?ref=app https://code.sololearn.com/WiTnDzvSKWQ9/?ref=app https://code.sololearn.com/W3qrutLMG9Kv/?ref=app
9 Answers
+ 5
pap
The problem is http, should be https to have it work in playground on pc
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
+ 5
It works for me fine, and Iâm using the SoloLearn iOS app.
+ 5
Hmm... because the jQuery needs to load, I would wrap everything in:
window.onload = function() {
// your code...
};
+ 4
It may be the problem, but Iâm not sure, because Iâm not sure what BrowserKit is.
+ 3
Rowsej thanks for the reply. i wrote the in sololearn ios app and there is no problem here also, but those days i tries them at pc and there was an error with the jquery $(document).ready()... Any ideas?
+ 3
Rowsej Iâll give it a try. My original thought was that it have something to do with âBrowserKitâ. Could this also be a solution? like adding BrowserKit?
+ 3
It's $(document).ready
Don't (ready)
+ 3
Pap, you are welcome.