- see footer for list info -<
What a plonker how easy was that .....
I spent last night at home thinking of ways I could code the first selection
to be forced with query of queries and javascript and all sorts. Its so good
to have someone say why don't you just .....
Thanks a lot guys & gals
Regards - Paul
From: Stephen Moretti <[EMAIL PROTECTED]>
Reply-To: Coldfusion Development <[email protected]>
To: Coldfusion Development <[email protected]>
Subject: Re: [Spam] [CF-Dev] Thoughts
Date: Tue, 11 Oct 2005 09:03:43 +0100
- see footer for list info -<
Paul,
So that when the the list is changed known issues (if there are any) are
shown in a box below.
The problem is that this doesn't work first time around. (becuse ther is
no 'onChange'.
There's 3 solutions.
1) Simply put a "Please select a school...." as the first item of your
select, so that the user triggers the onchange.
2) Put a bit of javascript at the bottom of the page that sets the first
item in the select as the selected item and then submits the form, but this
will mean that you get a kind of flash as the page loads twice.
document.DropDown.selected_School.selectedIndex = 0;
document.DropDown.submit();
3) If you don't have any form variables to get the known issues with,
simply take the details from the first item in the query for the drop down
and use that instead.
Hope that helps.
Regards
Stephen
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<