I like using "#" instead, since it keeps the browser from going to somewhere non-existent for those that have JS disabled. Plus, it's shorter to type. :-)
--- Billy Cravens ----- Original Message ----- From: "Garza, Jeff" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 4:55 PM Subject: RE: simple HTML ? > You could replace the href="javascript:void();" with a href="javascript://" > This should take care of it. I noticed in another post (to another group) > that not all browsers recognize the void statement. You might also try > putting a zero in the parentheses "(0)". Sorry about the bad function. > > Jeff Garza > Lead Developer/Webmaster > Spectrum Astro, Inc. > 480.892.8200 > [EMAIL PROTECTED] > http://www.spectrumastro.com > > > > -----Original Message----- > From: Douglas Brown [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 20, 2001 3:52 PM > To: CF-Talk > Subject: Re: simple HTML ? > > > I tried your code, but get an error in the javascript:void(); It seems li > ke > it wants something between the () or something > > > > Doug > ----- Original Message ----- > From: "Garza, Jeff" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, December 20, 2001 2:14 PM > Subject: RE: simple HTML ? > > > > <a href="javascript:void();" > > onclick="document.[formname].submit();">mylink</a> > > > > Jeff Garza > > Lead Developer/Webmaster > > Spectrum Astro, Inc. > > 480.892.8200 > > [EMAIL PROTECTED] > > http://www.spectrumastro.com > > > > > > > > -----Original Message----- > > From: Douglas Brown [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 20, 2001 3:20 PM > > To: CF-Talk > > Subject: OT: simple HTML ? > > > > > > I want to pass the values of some hidden fields, but I am not using a > > submit button. I am using a text link. How would I pass the form and > > hidden fields? > > > > > > Thanks > > > > > > > > ______________________________________________________________________ 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