Skip to content

Conversation

@chiangtor
Copy link

The javascripts within the script tags requires dom loaded. So warpped with :

$(function(){
  // existing javascripts.
});

The javascripts  within the <script> tags  requires dom loaded. So warpped with :
```javascript

$(function(){
  // existing javascripts.
});
```
@LOZORD
Copy link

LOZORD commented Jan 16, 2016

Yup, this really needs to pulled in! Was tearing my hair out until I realized this was the fix.

@eduardomazolini
Copy link

eduardomazolini commented Sep 2, 2016

In http://socket.io/get-started/chat/ :

Now in index.html I add the following snippet before the </body>

Please upgrade to "after" or accept the use of "ready" I lost a few hours to find my mistake. Personally I used "ready" as solution.

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

Successfully merging this pull request may close these issues.

3 participants