win.eval(frame, script)

用途:在指定 frame中执行评估代码 script

  • frame HTMLIFrameElement - 要评估的框架. If iframenull即作用于当前窗口或frame.
  • script String - 要评估的js代码