Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] what's wrong with this code?


  • From: javascript@xxxxxxxxxx (Andrew Dunn)
  • Subject: [Javascript] what's wrong with this code?
  • Date: Mon, 25 Feb 2002 16:50:20 +1000

Hi,
   Can anyone please tell me what's wrong with this code? It comes up with
an error of "object expected". 

Function called from hyperlink:

<a href="javascript:opennew();"> 

Function:

function opennew() {
  var new_window;
  new_window =
window.open("contact.htm","_blank","menubar=no,toolbar=yes,width=200,height=
505,top=100,left=250,alwaysRaised");
} 

Regards,
Andrew