mycode is:
<html>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
<script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/js/jquery.hotkeys-0.7.9.min.js"></
script>
<script type="text/javascript">
function test(){
jQuery(document).bind('keydown', {combi:'h',disableInInput:
true},function (evt){
f3.document.location = "/index.html";
});
}
jQuery(document).ready(test);
</script>
<head>
<title>SJTUBBS2</title>
</head>
<frameset name="topframe" border="0" frameborder="0" framespacing="2"
framemargin="0" cols="150,*">
<frame name="f2" framespcing="2" src="bbsleftnew">
<frameset onload="rightframe_onload()" id="rframe"
name="rightframe" rows="0, *, 20" >
<frame scrolling="no" marginwidth="4" marginheight="0"
framespacing="0" name="fmsg" id="fmsg" src='getmsg.html'>
<frame framespacing="2" name="f3" >
<frame scrolling="no" marginwidth="4" marginheight="1"
framespacing="1" name="f4" id="f4" src='/php/redir2.php?u=foot '>
</frameset>
</frameset>
</html>
When I enter the key "h", the "f3" frame will load "/index.html".
However, when enter "h" next time, the javascript does not work. I
thinks the problem is that jQuery(document).ready does not work the
the frame reload. How to solve it?