HI ALL
i have blocked F5 properties ,but i am getting javascript error has access denied where as cursor plased in input type file .
plz help me
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function funtest(event,obj){
var test=window.event.keyCode;
if(test=='116')
{
window.open('t.php',height=300,width=300);
window.event.returnValue = false;
window.event.cancelBubble = true;
window.event.keyCode=0;
return false;
}
else
{
document.getElementById(obj.id).value='';
return false;
}
}
</SCRIPT>
</HEAD>
<BODY >
<form>
<table>
<tr>
<td>file</td>
<td><input type="file" id='from1' name='from1' onkeydown='funtest(event, this)'></td>
<tr>
<td>text</td><td><input type='text' id='form2' name='form2' onkeydown='funtest(event,this)'>
</td>
</tr>
</table>
</form>
</BODY>
</HTML>