#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    1
    Rep Power
    0
    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?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    ca, usa
    Posts
    10
    Rep Power
    0
    history *is* an object. you probably want to use the toString method, i.e. history.toString()

Similar Threads

  1. Javascript :How to check an object is exist
    By rockyu in forum JavaScript Development
    Replies: 5
    Last Post: November 5th, 2003, 11:30 AM
  2. Executing External Javascript from a Popup window. - How do I...
    By Bitzen in forum JavaScript Development
    Replies: 3
    Last Post: August 2nd, 2003, 05:31 AM
  3. Reading the contents of a input file object with javascript
    By Tim_Lensen in forum JavaScript Development
    Replies: 3
    Last Post: July 17th, 2003, 06:56 PM
  4. JavaScript not working...
    By FireWire in forum JavaScript Development
    Replies: 2
    Last Post: July 1st, 2003, 01:37 PM
  5. Javascript File object giving problem
    By hade in forum JavaScript Development
    Replies: 1
    Last Post: June 26th, 2002, 05:26 PM

IMN logo majestic logo threadwatch logo seochat tools logo