I have a .jsp page where many elements have ids that end with a certain string. For example:
<div id="topActions-1083"></div>
<div id="collapse-1083">
<input id="collapse1Input-1083" type="hidden" value="expanded"></input>
</div>
Which is the fastest way to get all elements with id ending in '1083' and change it to '1084' ?