For some reason I seem to be getting stray characters that render to my POLL answers in IE7 and IE6 (image attached).
This does not happen in FF3, Chrome, Opera 9, and Safari 3.2.
If I look at the rendered mark-up there is no evidence of what is showing up. Below is what is rendering to the page:
<ul class='lg-polls-answers'>
<li class='a-0 clearfix'>
<label for='lg-polls-answer-16'>
<input type='radio' name='lg_polls[answer_id]' id='lg-polls-answer-16' value='16' />
<span class='answer'>lowering college costs and helping more people pay for college</span>
</label>
</li>
<li class='a-1 clearfix'>
<label for='lg-polls-answer-17'>
<input type='radio' name='lg_polls[answer_id]' id='lg-polls-answer-17' value='17' />
<span class='answer'>helping working parents pay for childcare and other supports while attending college</span>
</label>
</li>
<li class='a-2 clearfix'>
<label for='lg-polls-answer-18'>
<input type='radio' name='lg_polls[answer_id]' id='lg-polls-answer-18' value='18' />
<span class='answer'>making sure college programs prepare students for growing industries</span>
</label>
</li>
<li class='a-3 clearfix'>
<label for='lg-polls-answer-19'>
<input type='radio' name='lg_polls[answer_id]' id='lg-polls-answer-19' value='19' />
<span class='answer'>creating programs that allow working students to complete degrees quickly</span>
</label>
</li>
</ul>
//...etc...
The template code looks like
<!-- POLL -->
{exp:weblog:entries
weblog="lg_polls"
limit="1"
show_future_entries="yes"
show_expired="yes"
}
{exp:lg_polls:poll
entry_id="{entry_id}"
precision="2"
return="/"
}
{poll_question}
{if can_vote}{poll_form}{if has_voted}
Thank you, we have registered your vote; however, you can vote again.{/if}
<ul class='lg-polls-answers'>
{poll_answers}<li class='a-{answer_count} clearfix'>
<label for='lg-polls-answer-{answer_id}'>
{answer_input}
<span class='answer'>{answer}</span>
</label>
</li>
{/poll_answers}
</ul>
<input class="submit" type="image" src="...path_to_image.../btn_submit.gif" alt="Submit your vote." />
<span>...path_to_image.../loader_green.gif</span>
{/poll_form}
{if:else}{if has_voted}Thanks for voting in this poll.
{/if}{if restricted}Sorry, You are restricted from voting in this poll.
{/if}{if expired}This poll ended on {embed:expiration_date}.
{/if}{if yet_to_begin}This poll is not active yet. Voting opens on {embed:entry_date}.
{/if}{/if}{if show_results_after_poll && has_voted}The results of the poll will be made available on {embed:expiration_date}
{/if}{if never_show_results && has_voted}The results of this poll will be made public at a later date.
{/if}
{/exp:lg_polls:poll}
{/exp:weblog:entries}
<!-- /POLL -->
No ajax involved…can’t get that to function correctly.
❓
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.