This site has been deprecated. Do not edit pages here. Please visit the new Pico Labs documentation.

Skip to end of metadata
Go to start of metadata

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:

  1. Jun 12, 2012


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