在我的 HTML 页面中,我有两个框架top_frame- & bottom_frame。里面有top_frame个按钮<input type='button' id='test' value='Test' name='test'>
现在bottom_frame我想检测是否top_frame点击了按钮。
现在通常没有框架我可以这样做 -
$("#test").click(function(){
alert("You Clicked Me!!");
});
我怎样才能在框架中做同样的事情?