I am processing records that the user has selected in an interactive grid contained in an inline dialog page. After processing, the user can make another selection and initiate the process again, or they can close the dialog and return to the main page. The next time they invoke this dialog, the previous selections should be cleared but currently are still selected from the previous use.
I would like to use JavaScript to clear the user's selections but have so far not found a way of doing this. There are some suggestions in online blogs involving setSelection($()), but in trying to use these examples I get errors such as "setSelection is not a function".
Thanks.