Thanks. In the case above, there may be multiple previous selections. Is there a way to just change one href class, or is it likely I would need to grab all the previous selections on the line and factor those into the new HTML in order to change an href later in the line?
At this moment, there is not a programmatic interface to just change the href class.
You'd need to update the entire HTML of the item. I suggest to get the item HTML and do a smart find & replace on it.