Douglas,
 this is not from a dropdown list.They select from the results of a
search.
So they will have a list of pictures which matched the criteria, and
proceed further to select their choices which they can then download.

-----Original Message-----
From: Douglas Brown [mailto:[EMAIL PROTECTED]] 
Sent: 08 July 2002 19:08
To: CF-Talk
Subject: Re: I don't want refreshing when I am selectiong to download


Why would your page refresh with each click? Just let them choose
multiple files from the dropdown list. Then give each item in the list
the value of the ID of the pic

<select name="mySelect" size="10" multiple>
<cfoutput>
<option value="#myQuery.file_name#">#myPicName#
</cfoutput>
</select>


Then loop through the results of what they chose and email them the pic.

<cfloop list="#mySelect#" index="i">
<cfmail
to="#to#"
from="#from#" etc etc etc>
<cfmailparam file="C:\images\#i#">
</cfmail>
</cfloop>



Douglas Brown
Email: [EMAIL PROTECTED]
----- Original Message -----
From: "Kodjo Ackah" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 8:07 AM
Subject: I don't want refreshing when I am selectiong to download


> Hi,
> my application gives the user the choice to select from search 
> results(images), in order to download. They will usually select more 
> than one image.
>
> PROBLEM: Each click of the select button means my page is refreshed - 
> that is a new query has to begin in order to select yet another image.
>
> The code is attached.
>
> I have been advised that javascript will help me stop this happenning.

> What kind of javascript are we referring to? How can I implement this.
> I don't know where to start.
>
> 

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to