I have a question, that i would like to send some array to jquery once someone clicked on specific element, i can see that i can not add array to any input, so i decided to encode array in json. But i am stuck there as i am not able to get that json data from that input field in jquery. I am getting that json data in jquery using field class name.
Please someone help as i am building a WP shortcode and i want to send all attributes to jquery.
Thanks in advance