Home Forums General Issues Compare acf field in js


Compare acf field in js

  • 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();
Viewing 1 post (of 1 total)

The topic ‘Compare acf field in js’ is closed to new replies.