rturner003
Programmer
I have two applications, although it shouldn't matter one is sourced from perl and the other from asp, and they both carry out the same function but with different results. The function is that from a JavaScript routine a pop up window is called where a user selects from a list and then presses a continue button. A JavaScript routine in the pop up window then takes data from the selected item and puts that into input boxes on the main form.
To to this is use the opener.document.form.control=value.
On one this works and the other the JavaScript just stops. After a bit of playing around I discover it was a problem with the opener object. I therefore tried the following bit of code immediately the continue was pressed: alert(window.opener.name). Again the asp sourced system returned a value the other just stopped working with no alert box returned at all.
Has anybody any idea why this happening. I mean this is all client side JavaScript running on exactly the same browser!
cheers
Robert T Turner
To to this is use the opener.document.form.control=value.
On one this works and the other the JavaScript just stops. After a bit of playing around I discover it was a problem with the opener object. I therefore tried the following bit of code immediately the continue was pressed: alert(window.opener.name). Again the asp sourced system returned a value the other just stopped working with no alert box returned at all.
Has anybody any idea why this happening. I mean this is all client side JavaScript running on exactly the same browser!
cheers
Robert T Turner