0

I have been working on community poll joomla component for my website when user voting for some polls it shows below js error.

ReferenceError: poll is not defined

why this error show is there any js conflicting or some settings from community poll component settings. please suggest some solution asap.

  • 1
    A solution would require some code to be shown. We can't help without seeing anything – Lodder Apr 16 '15 at 9:15
  • 1
    Well poll is not defined, so have you try debugging your code and tried to figure out why it isn't? You should start making full use of console.log() – Lodder Apr 16 '15 at 9:30
  • 1
    @paypal - Please add this as an answer and accept it so people know it has been solved ;) – Lodder Apr 16 '15 at 10:48
  • 1
    sry i am new in stackoverflow so i don't know how to accept the comments answer and one more request my name is payal not paypal.... – payal Apr 16 '15 at 11:18
  • 1
    You will see a big answer text area below. Post it in there – Lodder Apr 16 '15 at 11:32
1

Issue is resolved.by replacing poll variable from npoll variable in anywhere .js because there is no poll variable is defined and npoll containing poll article value. thanks joomla beta this answer is accepted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.