>- see footer for list info -< If you're going the GET route, the following looks at the url string and converts the variables to js vars.
then you can do what you like with them (document.write, innerHTML etc.) from: http://javascript.geniusbug.com/index.php?action=show&name=passVars function getVars() { varArray = document.location.href.split('?')[1].split('&'); for(var x=0; x<varArray.length; x++) { var tmp = varArray[x].split('='); eval(unescape(tmp[0]) + '="' + unescape(tmp[1]) + '"'); } } That can probably be tidied up a bit, and I can immediately see a problem in that it'll overwrite any already-existing variables in your action page that have the same name as anything in the url, but it's a start for you. Rich On 7/31/07, Paul Swingewood <[EMAIL PROTECTED]> wrote: > > >- see footer for list info -< > Thanks all.... > > I'll have a look through my old code archive. GET rings a bell im sure I > did > this fairly easily some time ago. > > Regards - Paul > > > >From: "Rich Wild" <[EMAIL PROTECTED]> > >Reply-To: Coldfusion Development <[email protected]> > >To: "Coldfusion Development" <[email protected]> > >Subject: Re: [CF-Dev] Today's stupid question > >Date: Tue, 31 Jul 2007 11:54:00 +0100 > > > > >- see footer for list info -< > >No he didn't. > > > >Are you drunk again? > > > >On 7/31/07, Matthew Horn <[EMAIL PROTECTED]> wrote: > > > > > > >- see footer for list info -< > > > well yes there is that > > > he did say post tho :P > > > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Behalf Of Rich Wild > > > Sent: 31 July 2007 12:38 PM > > > To: Coldfusion Development > > > Subject: Re: [CF-Dev] Today's stupid question > > > > > > > > > >- see footer for list info -< > > > unless you set the form method to GET and access the url string with > > > javascript. > > > > > > Or... > > > > > > Before the form action, save the form variables to a client cookie and > > > then > > > read the cookie contents with javascript on the next page. > > > > > > On 7/31/07, Matthew Horn <[EMAIL PROTECTED]> wrote: > > > > > > > > >- see footer for list info -< > > > > you dont > > > > > > > > you would need some server side code to do it > > > > AFAIK > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] Behalf Of Paul > >Swingewood > > > > Sent: 31 July 2007 12:24 PM > > > > To: [email protected] > > > > Subject: [CF-Dev] Today's stupid question > > > > > > > > > > > > >- see footer for list info -< > > > > Its been so long since I did this I have completely forgotten. > > > > > > > > I have a flat HTML form and I want to display what was sent in the > >form > > > as > > > > text on the screen. > > > > > > > > Piece of cake in CF but how do I do this in flat HTML? > > > > > > > > For example user enters name and address then on the action page I > >want > > > to > > > > display the output as > > > > > > > > Mr Bloggs > > > > 22 Accacia Avenue > > > > Eddie House > > > > Maidens Ville > > > > IR0 NMA > > > > > > > > Blank Totally blank ..... > > > > > > > > Regards - Paul > > > > > > > > > > > > _______________________________________________ > > > > > > > > For details on ALL mailing lists and for joining or leaving lists, > go > >to > > > > http://list.cfdeveloper.co.uk/mailman/listinfo > > > > > > > > -- > > > > CFDeveloper Sponsors:- > > > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > > > >- Lists hosted by www.Gradwell.com -< > > > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > >help > > > > -< > > > > > > > > _______________________________________________ > > > > > > > > For details on ALL mailing lists and for joining or leaving lists, > go > >to > > > > http://list.cfdeveloper.co.uk/mailman/listinfo > > > > > > > > -- > > > > CFDeveloper Sponsors:- > > > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > > > >- Lists hosted by www.Gradwell.com -< > > > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > >help > > > > -< > > > > > > > _______________________________________________ > > > > > > For details on ALL mailing lists and for joining or leaving lists, go > to > > > http://list.cfdeveloper.co.uk/mailman/listinfo > > > > > > -- > > > CFDeveloper Sponsors:- > > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > > >- Lists hosted by www.Gradwell.com -< > > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > help > > > -< > > > > > > _______________________________________________ > > > > > > For details on ALL mailing lists and for joining or leaving lists, go > to > > > http://list.cfdeveloper.co.uk/mailman/listinfo > > > > > > -- > > > CFDeveloper Sponsors:- > > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > > >- Lists hosted by www.Gradwell.com -< > > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > help > > > -< > > > > >_______________________________________________ > > > >For details on ALL mailing lists and for joining or leaving lists, go to > >http://list.cfdeveloper.co.uk/mailman/listinfo > > > >-- > >CFDeveloper Sponsors:- > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > >- Lists hosted by www.Gradwell.com -< > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help > >-< > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to > http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help > -< > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
