I have a custom post type "pakket", in which I've put all kinds of data in the taxonomy terms. This custom post type has about 50 items, each with their own values for taxonomy terms. For example:
Pakket
Hakhoutsingel
(waardedaling)=0.6
(opbrengstderving)=YES
(aanlegkosten)='string'
Bossingel
(waardedaling)=6
and so on..
I have the same 50 corresponding values (hakhoutsingel, bossingel etc.) in a dropdown box on a page with a form. http://areal-agro.nl/tool/?page_id=6
I want to get the 50 values from the database (with php), and check if they match the values from the dropdown box (jQuery). I know how to do both.
Problem is, I cannot use a jQuery variable in php, because php is server-sided scripting. How can I tackle this problem?