Helpful Information
 
 
Category: JavaScript Development
Javascript 'history object'

I got this code from netscape and cannot get the thing to work in netscape or IE?

document.writeln("<B>History is</B> " + history)

the only output I am getting is 'History is [object] '

isn't there is supposed to be url reference?
any suggestions?

history *is* an object. you probably want to use the toString method, i.e. history.toString()










privacy (GDPR)