Reply to: Modify selected elements?April 15, 2019 at 6:58 pm
See my reply here, third in the thread:
The two relevant APIs are:
If you can provide more information about what you need to accomplish I might be able to suggest something in more detail. Keep in mind that the actual end result (and starting condition) is the most important thing here as sometimes you can get there multiple ways.