Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    I am guessing you might be using some caching or re-arranging JS plugin (optimizing plugin) which rearranges the order of the JS and messes with the plugin JS

    Thread Starter martin.kovac

    (@martinkovac)

    Thanks Lester,
    I don’t use any of the caching or re-arranging JS plugin and this was not the problem.
    I found the problem here: wp_enqueue_script(‘wp-polls’, plugins_url(‘wp-polls/polls-js.js’), array(‘jquery’), WP_POLLS_VERSION, true); in wp-polls.php file.
    I need to use my own jquery so I deregister this script. I just change this to my own JS script after which polls-js.js must be loaded.
    It works now.

    Anyway many thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘poll_result is not defined’ is closed to new replies.