281Chapter 15Generic HTML Element Objectsinitializing a new mouse (Freelance web design)

281Chapter 15Generic HTML Element Objectsinitializing a new mouse event, supported most reliably in Mozilla-based browsers. Thebehavior is identical to that of Listing 15-26, which demonstrates the IE5.5+ equivalent: fireEvent(). Listing 15-25: Using the dispatchEvent() Method