Results 1 to 2 of 2
Jun 1, 2011, 12:01 #1
- Join Date
- Jul 2008
- 0 Post(s)
- 0 Thread(s)
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?