Play around with the colored blocks in this HTML document (using mouse hover and clicks) and watch how your interactions are marshalled over network to the main application: