Displaying and hiding JavaScript errors

When you are troubleshooting a JavaScript problem, you can programmatically turn the display of JavaScript errors on just before the section of JavaScript where you believe the problem is occurring, then programmatically turn the display of JavaScript errors off right after that point. Off is the default value for this setting.

The PODSPrefs object functions allow you to get and set the values of a variety of preferences for M-Business Client. Use the ShowJSErrors constant to reference the ShowJSErrors preference with these functions.

For more information on the functions available, and the synopsis to access them from JavaScript, see PODSPrefs object.