this should help you
<!--- Create dummy query --->
<cfscript>
myQuery = queryNew("");
queryAddColumn(myQuery, "value", listToArray("1,2,3,4,5,6,7,8,9"));
queryAddColumn(myQuery, "text", listToArray("item 1,item 2,item 3,item
4,item 5,item 6,item 7,item 8,item 9"));
</cfscript>
<!--- Include CFFORM and strip out the url param if it has been passed
before to remove duplication --->
<cfform action="#script_name#?#REReplaceNoCase(query_string,
'&?mySelect=[0-9]', '')#" method="get">
<!--- Get the selected item if it has been passed before into the URL --->
<cfset selected = "#IIF(isDefined('URL.mySelect'), 'URL.mySelect', DE(''))#"
/>
<cfselect onchange="location.href =
'#script_name#?#REReplaceNoCase(query_string, '&?mySelect=[0-9]',
'')#&myselect=' + this.value"
selected="#selected#"
name="mySelect"
query="myQuery"
value="value"
display="text">
</cfselect>
</cfform>
Steve
_____
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Claude Raiola
Sent: Wednesday, 25 July 2007 1:11 PM
To: [email protected]
Subject: [cfaussie] CFSELECT and ONCHANGE EVENTHi i have
Hi
I have a cfform with a cfselect drop down
I am wanting the page to automatically refresh one and item is selected from
the drop dwon box appending the value of introducerid for the item to the
url of the page being displayed
<select name="Select_Introducer">
<option>Select An Introducer</option>
<cfloop query="GetIntroducers">
<option value="#introducerID#" <cfif
isdefined('url.introducerid')><cfif #introducerid# eq
#url.introducerid#>selected</cfif></cfif>>#I_TradingName# -
#I_Contact#</option>
</cfloop>
</select>
I look forward to some assistance in this matter
Regards
Claude Raiola
Websites:
www.AustralianAccommodation.com
www.SAMARIS.NET
www.WebSiteSolutions.com.au
Mobile: 0414 228 948
On Wed Jul 25 9:53 , Andrew Scott sent:
Cool,
I am slowly getting to grips with air at the moment, but would love to have
a bit more time to really sit down and have a play with it.
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Rod Higgins
Sent: Wednesday, 25 July 2007 11:33 AM
To: [email protected]
Subject: [cfaussie] Re: open source time tracking app
Hi Andrew,
We will look into it. The next bmug meeting is scheduled for 8/8 and there
seems to be a *alot* of commotion around this date so the app demo may have
to wait to Sept. depending on what unfolds ... but the good news is the
prototype code will be completely open source.
Cheers.
On 7/25/07, Andrew Scott <[EMAIL PROTECTED]
<javascript:top.opencompose('[EMAIL PROTECTED]','','','')> > wrote:
Rod,
You couldn't breeze or screencast it could you, and post a link here
[EMAIL PROTECTED]
<javascript:top.opencompose('[EMAIL PROTECTED]','','','')> ?
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au <http://www.aegeon.com.au/>
Phone: +613 8676 4223
Mobile: 0404 998 273
From: [email protected]
<javascript:top.opencompose('[email protected]','','','')>
[mailto:[email protected]
<javascript:top.opencompose('[email protected]','','','')> ] On
Behalf Of Rod Higgins
Sent: Tuesday, 24 July 2007 6:25 PM
To: [email protected]
<javascript:top.opencompose('[email protected]','','','')>
Subject: [cfaussie] Re: open source time tracking app
wouldn't it be nice to run an air desktop app that talks back to a modified
lighthouse pro application that records time on projects in seconds ... come
to the BMUG meeting in either August or September (depending on what is
happening on the August 8/8 cfug meeting .. interesting date) to see a
prototype in action.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---