Assuming you have established VBScript as the default client side script language...
<input type="submit" value="Button One"
onclick='me.form.action="pageOne.asp"'>
If not, then
<input type="submit" value="Button One"
onclick='vbscript:me.form.action="pageOne.asp"'>
If you meant to ask something different , please clarify a bit ;-)...
--
Michael Harris
Microsoft.MVP.Scripting
--
Quote:
> This might work, and I will try it, but is there a way to
> do it with VBScript???
> Mythran
> >-----Original Message-----
> >Have you tried (assuming JavaScript on the client
> side)..???
> ><input type="submit" value="Button One"
> > onclick="this.form.action='pageOne.asp'">
> ><input type="submit" value="Button Two"
> > onclick="this.form.action='pageTwo.asp'">
> ><input type="submit" value="Button Three"
> > onclick="this.form.action='pageThree.asp'">
> >--
> >Michael Harris
> >Microsoft.MVP.Scripting
> >--
> >> On my form I have a lot of text boxes and checkboxes,
> >> etc. Also included is three buttons, when I click on
> one,
> >> I would like ALL of the data from the form to be
> >> transfered to a certain page. When I hit another of
> those
> >> buttons, I would like all of the data from the same
> form
> >> to be transfered to a different page, different pages
> for
> >> each of the three buttons, but the information must
> stay
> >> the same. Can anyone help me with this?
> >> Thank You.
> >> Mythran
> >.