can anybody help me in writing a javascript function which opens a
popup window with the target URL when the link "POST Request" is
clicked..
Points to note:
The HTML DOESNT and SHOULDNT HAVE A FORM TAG.
The URL data should be sent as POST and not GET..i.e the search
parameters should not be showin in the address bar when the page is
opened.
Sample code is:
<script language="JavaS cript">
<!--
function Openlink(url, args)
{
/////////////FILL CODE HERE...
}
// -->
</script>
<!-- *************** *** Change nothing below here ************** -->
<body>
<a href="#wf" onClick="JavaSc ript:LinkOpener ('http://www.ntis.gov/search/results.asp?loc =3-0-0&search=','frm _qry_Category=A LL&frm_qry_Sear ch=earth&frm_qr y_Search=AND&fr m_qry_Search=&f rm_qry_Search=A ND&frm_qry_Sear ch=&frm_qry_Yea r=1990&frm_qry_ MaxRec=100&frm_ qry_Rank=1')">P OST
request</a>
</body>
</html>
Thanks.
popup window with the target URL when the link "POST Request" is
clicked..
Points to note:
The HTML DOESNT and SHOULDNT HAVE A FORM TAG.
The URL data should be sent as POST and not GET..i.e the search
parameters should not be showin in the address bar when the page is
opened.
Sample code is:
<script language="JavaS cript">
<!--
function Openlink(url, args)
{
/////////////FILL CODE HERE...
}
// -->
</script>
<!-- *************** *** Change nothing below here ************** -->
<body>
<a href="#wf" onClick="JavaSc ript:LinkOpener ('http://www.ntis.gov/search/results.asp?loc =3-0-0&search=','frm _qry_Category=A LL&frm_qry_Sear ch=earth&frm_qr y_Search=AND&fr m_qry_Search=&f rm_qry_Search=A ND&frm_qry_Sear ch=&frm_qry_Yea r=1990&frm_qry_ MaxRec=100&frm_ qry_Rank=1')">P OST
request</a>
</body>
</html>
Thanks.
Comment