Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$Xml.Bind('Person/Name', function() {
   // executed when Person/Name is changed
)});

Above example is normally works if Name element exists in Person element. But some elements may not exist yet when form rendered. For example Bind method does not work for list items that not yet created. If you want to attach nodes for future elements you can use $Xml.Live method.

Code Block
$Xml.Live('List/Item/Amount', function() {
   // executed when List/Item/Amount is changed
)});

Use Custom jQuery Plugins

...