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

For those having trouble with logging messages to console. #17

Open
ghost opened this issue Nov 4, 2015 · 2 comments
Open

For those having trouble with logging messages to console. #17

ghost opened this issue Nov 4, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 4, 2015

It took me an embarrassingly long time to figure this out. When you include jQuery, change the script tag to a secured link. This fixed all my problems because jQuery wouldn't load in Chrome, making the jQuery we wrote before the body useless.

https://code.jquery.com/jquery-2.1.4.min.js

Edit: I'd like to add, I was following this tutorial on cloud9. Get requests are done with https, meaning I needed jQuery included using https. So this may not apply to those connecting via localhost:3000

@ibrahimlawal
Copy link

I think a more complete fix would be to load jQuery using: //code.jquery.com/jquery-1.11.1.js rather than http://code.jquery.com/jquery-1.11.1.js or https://code.jquery.com/jquery-1.11.1.js to cater for those who would be following it on either http or https.

@EasonWang01
Copy link

Should be aware to put $('#m').val() below body or put the selector inside document.ready

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