onFocus. fires when a window was focused on. void onFocus(){ ... }; Example. w1.attachEvent("onFocus", function(win){ // code here });. Related samples.
確定! 回上一頁