function poponload()
{
if (document.forms['lname'] != null)
{
urlStr = "http://blah/employee_directory/edirectory.cfm?
lname="+document.forms[0].elements['lname'].value,
"mywindow","location=1,status=1,scrollbars=1,width=100,height=100";
}
testwindow= window.open (urlStr);
testwindow.moveTo(0,0);
}
document.write ("<form method=post>")
document.write ("<input type=text name=lname>")
document.write ("<input type=button value=Search onClick='javascript:
poponload()'>")
document.write ("</form>")
to drive this query
<cfquery datasource="EmployeeDirectory"
name="EmpLN">
Select * from vEmployeeList Order By LN
Where Last_Name LIKE '#URL.lname#'
</cfquery>
But I get an error message that says, "The website cannot display the
page"
I can't use simple HTML. It must be done the hard way. It's a long
story
:)