When you use the image type in HTML is passes the .x and .y coords 
of where on the image you clicked. If you cfdump the form scope 
you will see which variables are available to you. Also, if you 
have multiple image types only the one you click will be passed 
to the action page.

DM

= = = Original message = = =

Hi again,

I have four <input> tags that based on which one I click on passes 
the appropriate varaible. For example

<input type="image" name="new" src="<cfoutput>#Request.App.image_root#</cfoutp
ut>new.gif" onFocus="this.blur();">
<br>
<input type="image" name="delete" src="<cfoutput>#Request.App.image_root#</cfo
utput>delete.gif" onFocus="this.blur();">

So...if I click on the "new" image I want to pass that to my 
action page. so I can check it and do my edit stuff.

<cfif "new"...
   Do this
</cfif>

<cfif "delete"...
   Do this
</cfif>

And so on...




---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to