I made a two PHP functions for my project, these two functions responsible for fetching different product category for different "online shop".
Now, I am implementing the function that when employee adding a new product, the employee first select which online shop does the new product belongs to (via a select), then depends on the online shop, the second select menu should display the correct options.
so, the first select looks like this
< Select name="Select_CCV_Webshop[]" id="ccv-webshop"
onchange='loadNew_CCV_Category()'>
here I need help on how to execute /call /trigger
the php
function inside of method "loadNew_CCV_Category"
.
Inside of function "loadNew_CCV_Category"
, it will get the select value, and this value will be the parameters for the php
function.
Please help :D, Thank you !!!!