Is it possible to compare a acf field of all post of a certain category in js?
With this input i can load the field of one post in js
<input type="hidden" id="postvidid" value="<?php echo get_post_meta($post->ID, 'musicid', true); ?>">
<script language="javascript" type="text/javascript">
function ShowNowOnAir(xml){
postvidid = $("#postvidid").val();
$("#wpid").html(postvidid);
}
</script>