Support » Fixing WordPress » [Plugin: WP-Polls] Changing Number of Votes

  • sparkweb


    I’m using 2.5 and I ran into some trouble when trying to change the number of votes. I dug into it, and it looks like the jquery wasn’t cycling through all the number of votes fields and was just grabbing the last one. I’ve fixed it with a kludge, but you may need to look into this a little closer. Here’s my fix (I am just grabbing the size=4 input fields):

    function check_totalvotes(){
    jQuery(“#poll_answers tr td input[size=4]”).each(function(a){

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Polls] Changing Number of Votes’ is closed to new replies.