[Solved] How to add tax and deals to a sales price in JavaScript
I see you’re asking a conceptual question. I would approach this by adding in data attributes to your select drop down. Then grabbing the values with a simple function on select change and integrating that into your price equation. You can read about data attributes here: https://www.w3schools.com/tags/att_global_data.asp and https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes 1) Add data attributes <select id=”province”> … Read more