monkeybidz Posted August 8, 2006 Share Posted August 8, 2006 Hello, im a having this problem where the character [b]&[/b] appears as [b]&[/b] only in selector 1 - 5, but not in 0. The character appears correctly in selector_0, and also appear correctly elswhere in the site. Below is some mix code.[b]<TABLE cellSpacing=5 cellPadding=2 border=0 width=100%> <INPUT type="hidden" value="1" name="submitted"> <TR vAlign=top bgColor=#ffffff> <TD align=middle width="50%"> <TABLE id=table_0 cellSpacing=5 border=0 width=100%> <TR> <TD> <SELECT class="contentfont" id="selector_0" onchange="populate(0)" size="10" name="selector_0" style="width: 100%; "> <? for ($i=0; $i<$cnt; $i++) { echo "<option value=\"".$catId[$i]."\">".$c_lang[$catId[$i]]." ".$hasSubcat[$i]."</option>"; } ?> </SELECT> </TD> </TR> </TABLE></TD> <TD align=middle width="50%"> <TABLE id=table_1 cellSpacing=5 border=0 width=100%> <TR> <TD><SELECT class="contentfont" id="selector_1" onchange="populate(1)" size="10" name="selector_1" style="width: 100%; "> <option value=""></option> </SELECT></TD> </TR> </TABLE></TD> </TR> <TR vAlign=top bgColor=#ffffff> <TD align=middle><TABLE id=table_2 cellSpacing=5 border=0 width=100%> <TR> <TD><SELECT class="contentfont" id="selector_2" onchange="populate(2)" size="7" name="selector_2" style="width: 100%; "> <OPTION value=""></OPTION> </SELECT></TD> </TR> </TABLE></TD> <TD align=middle> <TABLE id=table_3 cellSpacing=5 border=0 width=100%> <TR> <TD><SELECT class="contentfont" id="selector_3" onchange="populate(3)" size="7" name="selector_3" style="width: 100%; "> <OPTION value=""></OPTION> </SELECT></TD> </TR> </TABLE></TD> </TR> <TR vAlign=top bgColor=#ffffff> <TD align=middle><TABLE id=table_4 cellSpacing=5 border=0 width=100%> <TR> <TD><SELECT class="contentfont" id="selector_4" onchange="populate(4)" size="7" name="selector_4" style="width: 100%; "> <OPTION value=""></OPTION> </SELECT></TD> </TR> </TABLE></TD> <TD align=middle> <TABLE id=table_5 cellSpacing=5 border=0 width=100%> <TR> <TD><SELECT class="contentfont" id="selector_5" onchange="populate(5)" size="7" name="selector_5" style="width: 100%; "> <OPTION value=""></OPTION> </SELECT></TD> </TR> </TABLE></TD> </TR> </TABLE>[/b]Selectors 1-5 are sub categories of selector_0Thanks in advance! 8) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.