HTML and CSS Reference
The planner.get_words method needs to be hooked up to the window's onmes-
sage event. The next listing shows the code for this, still in planner.js.
Listing 4.20. Listening to the onmessage event in the planner application
With all this code in place, your work is complete. You should now be able to re-create the
Figure 4.12. Planner-chat auto-complete one more time
Cross-document versus channel messaging