Cheers Gyrus,

I've had this working before, but now I've done something, thats 
bollocks
it.

J
..
..

-----Original Message-----
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 2:23 PM
To: CF-Talk
Subject: Re: javascript issue


> 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?fuseact
io
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,



______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
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