Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > RunnerPage object > Methods

JavaScript API: RunnerPage object > setPageModified

Scroll Prev Next More

 

This function allows to skip the built-in 'Warn user about leaving the page' popup message. Can be useful when you modify some values on the page programmatically but don't want this popup to show unless user makes changes manually.

Syntax

setPageModified( modified );

Arguments

modified

boolean. Use false to skip 'Warn user about leaving the page' popup message.

Return value

No return value.

Example

 

pageObj.setPageModified( false );

 

See also:

JavaScript API: RunnerPage object

JavaScript API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software