JavaScript Issue

The following code opens a javascript window, however, the data is blank. Nothig is displayed. Can anyone help?

Search:


Double-click on pattern to add.

View by Pattern Number | Name

Close

Hidden field required as domino doesn’t like the “fake” select field above if it has nowhereto save values to !

Thank you.

Subject: JavaScript Issue

Would you please say what you are trying to accomplish and provide a copy of the line of code that you think is not working? I’m sure someone will try to help debug a line or two of code, but the goal isn’t clear here.

Subject: JavaScript Issue

There’s nothing there that opens a window; this code is designed to run in a “dialog” opened by another window. If that’s what you meant to say, there are two potential points of failure. One is that the window doesn’t recognize its opener, which can be fixed from the page that opens it. You should see something like this:

var newWin = window.open(…);

That should be followed by something like this:

if (newWin.opener == null) {

newWin.opener = window;

}

The other possibility is that the HTML form you are trying to work with inside the pop-up is not the second form on the page (that is, it’s not document.forms[1]).

Using a JavaScript debugger like Firebug or even the JavaScript console (now called the error console) in Firefox will be able to tell you more.

Subject: RE: JavaScript Issue

It appeared to me that the person needed to whittle down the request a little. Stan went out of his way to read all the code and offer advice. This is the time for the original person who posted to give a “thank you” to Stan.