mcbowen
-
Posts
5 -
Joined
-
Last visited
Community Answers
-
mcbowen's post in Dropdown box value is not updating when changed using jQuery was marked as the answer
Adding the below code triggered the change event and seems to be working for me
document.querySelector("select[data-variant-option-name='Color']").dispatchEvent(new Event("change"));