Posted by Jimmy on 02/25/06 03:51
ken wrote:
> I have the follow javascript.
> Is there anyway of making it more cosmetically more appealing?
>
>
> <SCRIPT LANGUAGE="JavaScript">
>
>
> function formHandler(form){
> var URL =document.form.site.options[document.form.site.selectedIndex].value;
> window.location.href = URL;}
> </script>
>
> <form name="form">
> <select name="site" size=1 onChange="javascript:formHandler2()">
> <option value="">Enrollment, Fees, Policies
> <option value="enrollment.html">Enrollment
> <option value="ssh_policies.html">School Policies & Fees
> <option value="schedule.html">Group Class Schedule
> </select>
>
> Thank
>
> Ken
>
Why aren't you ending your OPTION tags?
Navigation:
[Reply to this message]
|