Hi Friends,
I am opening another small window using window.open.
I want to access text feild of parent window in child window, that is when i say window.open(subwindow), subwindow opens. iam using
window.parentwindow.text.value and it is given me the text feild value in the sub window, but i want this parameter to be in http session so that i can use request.getParameter("value"
and can validate but my request object is giving me null, what could be the possible error.
this is how i am doing,
document.subwindow.text.value = window.mainwindow.text.value
later in my jsp code i am using
<%request.getParameter("text"
%>
iam getting this value as null, why request parameter is not receving this value.
i am able to get value from parent page, ie window.mainwindow.text.value is having the value.
Please suggest, and thanks for all the help in advance.
Harish
I am opening another small window using window.open.
I want to access text feild of parent window in child window, that is when i say window.open(subwindow), subwindow opens. iam using
window.parentwindow.text.value and it is given me the text feild value in the sub window, but i want this parameter to be in http session so that i can use request.getParameter("value"
this is how i am doing,
document.subwindow.text.value = window.mainwindow.text.value
later in my jsp code i am using
<%request.getParameter("text"
iam getting this value as null, why request parameter is not receving this value.
i am able to get value from parent page, ie window.mainwindow.text.value is having the value.
Please suggest, and thanks for all the help in advance.
Harish