Join Joseph LeBlanc for an in-depth discussion in this video Implementing chat interfaces, part of Node.js First Look.
With jQuery loaded, we can now hook onto the document ready event.…Next, we define a function called log_chat_message.…Log_chat_message takes a string, places it within a list element, then finds the…chat log element and appends that list element.…Chat_log is going to be an unordered list.…Next, we connect to the socket as we did before.…The entrance, exit, and chat events, now all call log_chat_message.…
Finally, we have an input named chat box.…We're going to listen for keypresses on the chat box input.…The event will tell us which key was pressed.…
- Using the Socket.IO Node package to achieve "live" effects like Facebook notifications
- Scraping web sites using jQuery without a browser
Skill Level Beginner
Q: Does the instruction from "Selecting through browserless jQuery" work for Windows users?
A: The “Selecting through browserless jQuery” video does not work on Windows
XHTML and HTML Essential Trainingwith Bill Weinman4h 44m Beginner
1. Installing Node
2. Getting Started
Running a Node script2m 6s
4. Command Line Scripts
5. Creating Web Servers
7. WebSocket Programming
8. Connecting Beyond Node
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.