Changing the Font colours
Hello,
First time poster, long time reader.
Currently have the following code on a .asp page, its to show dates once somone selects the course they want on a booking form:
PHP Code:
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="../animate.js">
</script>
<script type="text/javascript">
function setOptions(chosen) {
var selbox = document.FrontPage_Form1.date;
selbox.options.length = 0;
if (chosen == " ") {
selbox.options[selbox.options.length] = new Option('Please select one of the options above first',' ');
}
if (chosen == "AIM (8.30 am - 4.30 pm)") {
selbox.options[selbox.options.length] = new Option('4 July 2008','4 July 2008');
selbox.options[selbox.options.length] = new Option('7 July 2008 - 5 places only','7 July 2008 - 5 places only');
selbox.options[selbox.options.length] = new Option('22 July 2008','22 July 2008');
selbox.options[selbox.options.length] = new Option('28 July 2008','28 July 2008');
it goes on a lot futher, but I would like to be able to find away of putting the words FULL, in red bold font at the end of one of the dates,
For Example: 22 July 2008 - FULL
but all it does is show the code in the drop down box instead of coloured text
Could anyone help?
Thanks, Irianna