TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:19192] [OT] snazzy HTML forms



Yeah... lynx doesn't do javascript urls, I guess having javascript is a
really bad assumption.
The other problem is that you don't know the contents of a form element
before the user fills it in so you can't contruct the proper query
string ahead of time. You have to use javascript at some point. Unless
you don't actually have any form elements and then you don't need a form
in the first place.
Works in Netscape & Mozilla, should work in Opera with EcmaScript 1.1
(but I didn't try it cuz it kept crashing on start up).

jeff

Daniel Taylor wrote:
> 
> You are correct, but this method will not work with non-Javascript enabled
> browsers.  Safe for Windows, but a bad assumption on Linux.
> 
> Daniel Taylor                Yoda of borg we are, futile resistance is,
> dante@plethora.net           assimilated you will be, hmmm!
> 
> On Mon, 26 Jun 2000, Jeff Hallgren wrote:
> 
> > another way to do it is to use a javascript url like this:
> > <a href="javascript:document.myForm.submit();">Click Here</a>
> >
> > or to invoke a javascript function that does pretty much the same
> > thing..
> > <a href="javascript:aFunctionToSubmitForm();">Click There</a>
> >
> > jeff
> >
> >
> > Timothy Wilson wrote:
> > >
> > > Hey everyone,
> > >
> > > Is there a way to make an HTML form look like a normal link? I have a
> > > one-button, no input "form," but I don't want the clunky "Submit" button.
> > > Alternatively, is there a way to put the submit button in-line with other
> > > text?
> > >
> > > -Tim
> > >
> > > --
> > > Tim Wilson      | Visit Sibley online:         | Check out:
> > > Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
> > > W. St. Paul, MN |                              | http://slashdot.org/
> > > wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > > For additional commands, e-mail: tclug-list-help@mn-linux.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > For additional commands, e-mail: tclug-list-help@mn-linux.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org