Posted by Tom
2014-04-23
Hi Lisa,
The URL that points to the script contains a domain name. Probably, the page that hosts the polls and the script are on two different domains? To make the polls work, they must be in the same domain.
The URL that points to the script contains a domain name. Probably, the page that hosts the polls and the script are on two different domains? To make the polls work, they must be in the same domain.
<!--POLLING SCRIPT [ Step 1 ] Include jquery -->
<script type="text/javascript" src="http://vibeslinkfm.com/polling/conn/jquery.js"></script>
<!-- [ Step 2 ] Include Ajax Poll javascript POLLNG SCRIPT ENDS-->
<script type="text/javascript" src="http://vibeslinkfm.com/polling/conn/index.php"></script>
and then I added this to my html page
<div class="apadm" tid="1001"></div>
<br /><br /><div class="apadm" tid="1002"></div>
<br /><br /><div class="apadm" tid="1003"></div>
<br /><br /><div class="apadm" tid="1004"></div>
<br /><br /><div class="apadm" tid="1005"></div>
Is there a limit to having many polls on one html page?
Thanks for your help.