Posted by Paul Scoggan
2014-07-10

Hello Tom,

FIrst, thanks for providing a very useful and easy to implement polling setup.

I am using Ajax Poll DX in a public setting on an ipad. I have it so that it isn't using any cookies, and people can vote from the same device repeatedly. It is working great in this context, because the page refreshes and it clears the voting responses and displays the pre voting choices again.

My next task is to get it working in a modal window. The problem here is that there is never a page refresh. So when you close the modal, and reopen it, it still displays responses. It requires user input to close the modal, so I think I can make it work on close. But what I cannot figure out is if there is a var or something that I can reset to cause the responses to be cleared and the pre-vote choices to display again. Any thoughts? I am combing through the code, but honestly I am not sure exactly what I am looking for. Any direction you can provide would be greatly appreciated.
Posted by Tom
2014-07-11

Hi Paul,

>The problem here is that there is never a page refresh

How about just putting Ajax Poll in an iframe? That's the easiest method. Otherwise, you'd have to do some javascript work.