Skip to content Skip to sidebar Skip to footer

Generate Js Variable Array Through Data-set From Woocommerce Html Variation

This is the part of a vanilla JS code = var prices = [100, 536, 2368]; But the above is hardcoded. I want them through an HTML select drop down: