This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes why do I need to use .value ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "why do I need to use .value ??" Watch "why do I need to use .value ??" New topic
Author

why do I need to use .value ??

Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I just want to pop open a named window.

on IE, it complains line 18, char 3 has an invalid argument.
no problems for mozilla or firefox.



If I use :
window.open(theURL, theName.value, features);

everything is fine.

What the **** is going on?
[ April 22, 2004: Message edited by: Mike Curwen ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
I read this code with IE5.5 and had no problem:
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
did you ever look at this?
http://www10.brinkster.com/A1ien51/scripts/PopUpWinGenV3.htm
 
 
subject: why do I need to use .value ??
 
Threads others viewed
java Script Program
how to submit form to parent window
changing $ to a different character in javascript variable
Enabling a button
Opening HTTPS link in same popup
IntelliJ Java IDE