Skip to end of metadata
Go to start of metadata
watch(<selector>,<action>)

sets a watch on the <selector> item in the current page. When the user performs <action> an event will be fired for that action in the web event domain. <selector> is a jQuery selector such as a class (.foo) or id (#bar). The following web domain actions are available:

  • pageview
  • submit
  • change
  • click

The following ruleset shows watch() being used

The following demonstrates the preceding rule:



Labels:
  1. Jun 12, 2012

    Anonymous

    Umm, are you relaly just giving this info out for nothing?