That didnt help
Code: Select all
<html>
<head>
<script type="text/javascript" language="JavaScript">
function OpenLink(theURL)
{
window.open(theURL);
}
</script>
</head>
<body>
<a href="javascript:OpenLink('www.test.com/filename.pdf')">Test</font></a>
</body>
</html>
when i click "test" , a browser window is opened showing filename.pdf , path to the file is also shown in he address bar.
the file should not be opened in a browser window , it should open as a pdf file .
or
i should hide the path to the file in the browser window.
any help is appreciated .
thanks