Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Hardware>>window.back() Fails in IE

window.back() Fails in IE

peterinwa
12-02-2004, 08:14 PM
<a href='http://www.codingforums.com/archive/index.php/javascript:window.back()' title='Go Back to Previous Page'>Back</a>
<a href='http://www.codingforums.com/archive/index.php/javascript:window.close()' title='Close this Pop-up Window'>Close</a>

In the above code Close works fine and Back works fine in Netscape. But in Internet Explorer 6 Back gives the error message:

"Object doesn't support this property or method"

Before I try Back I go from the first URL to a second so there will be something to go back to. The browser back arrow also works fine.

Thanks, Peter

Basscyst
12-02-2004, 10:51 PM
I always make back buttons like this.


<a href=http://www.codingforums.com/archive/index.php/"#" onclick="history.go(-1);">I want where I was before.</a>


Basscyst


 

TOP

For more info

setting a minimum size
Auto Preview of Image 
Refresh with a query s
JS Validation obsolete
Javascript Pop up func
Slide show transitions
I'm a newbie...please!
how to write coding in
Advanced Debug Info 
.js file doesn't work 

News Archive

Adding Graphic To Text
re-direct form after s
pop up window controls
Clock on homepage - He
passing a param from a
Password Procection wi
document.title in same
focus onload 
Counting Wrong from Ri
Help needed on how to 

Related stories:

Command Buttons & Text Field Data Entry?
validating form field if radio button is checked
Question- Please HELP !
how do you create a pop-up window?
Querying a page without reloading current page
document.write browser specific response
button value not being sent

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics