> I have a page with multible form buttons with multible actions,
>
> <form name="interfacing" onSubmit="return false;">
>
> ..
> so for each button I would have an event handler like so,
>
> <input type="submit" name="viewSelection" value="View Selection On
Map"
>
onClick="viewSelect('#REQUEST.virtualRoot#secure/map/index.cfm?fuseactio
n=ma
> pView','multipart/form-data')">

You didn't really describe the problem - at a guess pushing the
buttons just do nothing? For this job - where there's no real
form to be posted, just buttons triggering JS, I would just
use <input type="button" onclick="etc." />. Using this input
type without a <form> tag is perfectly valid, only NS 4 (and
maybe other crummy older browsers) won't show the button
without a form tag, so maybe wrap

<form action="" name="form" id="form"></form>

around all the buttons.

HTH,


______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to