Hello,

I have a question about Javascript and I want your help. See if you can follow me:

I have a site that provides free polls for webmasters. The HTML code for the polls looks something like this:

Code:
<!-- BEGIN BALLOT BOX CODE -->
<SCRIPT TYPE="text/javascript">
.......Javascript code here...........
</SCRIPT>
<TABLE>
........HTML poll code here........
</TABLE>
The Javascript code displays the results in a popup window. What I want to do is replace the code above by the following code:

Code:
<script type="text/javascript" src="http://www.mysite.net/poll.script.php?pollid=100"></script>
The script poll.script.php writes the full code including the Javascript code. The poll is being displayed all right, but the results are not being displayed in the popup window. Is what I want to accomplish possible?

I do not want to use the following code:

Code:
<!-- BEGIN BALLOT BOX CODE -->
<SCRIPT TYPE="text/javascript">
.......Javascript code here...........
</SCRIPT>
<script type="text/javascript" src="http://www.mysite.net/poll.script.php?pollid=100"></script>