Thanks !!!!
Both Bob and Scot are right !! You can only use it in an <a href>, not in a submit. I will create my own "Back" button as an immage now :) Regs David > > I have always just used the history.back action > ( e.g., <a href="javascript:history.back()"> ) > as part of a hyperlink to return to the previous page, > not as a submit action of the form. This seems to work > fine in IE, Netscape, and Opera. When you use a submit > button, you are either posting data or getting data, > that's why it exists. Using a hyperlink reference, you > can simply link to the last page instance in your > browser's history, which may be static HTML or the > results of a CGI call. Worst case scenario is that > your browser asks to repost the data and you have to > click OK. > > Scot Robnett > inSite Internet Solutions > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > > -----Original Message----- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 11:43 AM > To: 'David vd Geer Inhuur tbv IPlib'; [EMAIL PROTECTED] > Subject: RE: history.back() does not work in IE > > > > -----Original Message----- > > From: David vd Geer Inhuur tbv IPlib > > [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, April 25, 2002 12:32 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > Subject: RE: history.back() does not work in IE > > > > .. > > Here is what I did in the script : > > > > $submit = "<td><input type=submit value=Back name=\"needm\" > > Onclick=\"javascript:history.back();\"></td>"; > > I'm no HTML expert, but aren't type="submit" and > onclick="javascript:history.back()" > mutually exclusive? I mean, do you want the button to submit the form, or > go back? > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.350 / Virus Database: 196 - Release Date: 4/17/2002 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.350 / Virus Database: 196 - Release Date: 4/17/2002 > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]