How can I get a selected variables from multiple select box then do a $.post
request to the server?
I see that there is a data input under jQuery documentation and it says the type is either object or string but I cannot seem to figure out how I can transform retrieved selected values from multi select box via jQuery, add another field and value called {check_industry: "1"} then add this as a data below where it says {here}
$.post("/get-tree", {here},
function(data) {
console.log(data);
},
"html"
);