Examples of Using the Bubbling Technique: Simple Actions
Benefits from the bubbling up technique: Untied your XHTML code from the javascript listeners, no more addListener in your code. Just define the class of each link, and the corresponding behavior for each link´s class:
- - Link with "rel" actionPrompt: click here
- - Link with "class" actionPrompt: click here
- - Link with more than one "class" including actionPrompt: click here
- - Link without "rel" and "class": click here