Versions Compared

Key

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

...

The preInvokeJS attribute is used to determine whether the URL specified should be called or not, and must contain Javascript that returns true or false. If you want to call a JavaScript function, use the format preInvokeJS='yourMethodName(data,type)'. An example would be to show a confirm dialog to the user to double check whether they want to remove a user from a list.

...