Shows or hides a set of page elements in JavaScript events. Similar to toggleItem() function but will work much faster if you need to show or hide a large number of elements.
Syntax
toggleItem( itemIds, show );
Arguments
itemIds
array with the element IDs. You can use this method only with the items (elements) that have an ID. How to find item ID?
show
use true to show the item, and false to hide it.
Return value
No return value.
Example
// hide some fields
pageObj.toggleItems( [
'integrated_edit_field1',
'integrated_edit_field2',
'integrated_edit_field3'
], false );
See also:
•RunnerPage class: toggleItem()
•JavaScript API: RunnerPage object > hideField()
•JavaScript API: RunnerPage object > showField()
•JavaScript API: RunnerPage object