Hi,
So here's my problem. I wrote a program that opens a child window. I get data from the child window and output the value in an form's input value field in the parent window, like this:
window.opener.document.myForm.elements.value = data;
This works. Now, my question is I want the input field on the parent window to be read-only as well(i.e. turns grey) after inserting the data from the child window.
Its soo simple, yet I can't seem to figure it out! :S
Thanks! any hint helps.
So here's my problem. I wrote a program that opens a child window. I get data from the child window and output the value in an form's input value field in the parent window, like this:
window.opener.document.myForm.elements.value = data;
This works. Now, my question is I want the input field on the parent window to be read-only as well(i.e. turns grey) after inserting the data from the child window.
Its soo simple, yet I can't seem to figure it out! :S
Thanks! any hint helps.