I have an asp page to search for data. I like to open it in a new window while retain the search values. And I also can resize the window as well as set its attributes like
I created a js function like this:
function posttopopup(formname, windowname)
if (! window.focus)return true;
on my asp search page:
<form method="post" action=search.asp" onSubmit="posttopopup(this, 'popupwindow')">
<input type="button" name="Submit1" value="Search" onclick="if (isDate()) document.Search.submit();">
I keep getting errors like "document.search has no value..."
What did I do wrong?