隨筆-16  評論-54  文章-0  trackbacks-0
          Assigning the target property requires the name of a window not the window itself.

          Wecould try something like

          window.opener.name="opener728";
          form.target="opener728";

          however, I suspect the window.name property is read-only.

          Alternatively, if We are certain that the opener already has a name then this might work

          form.target=window.opener.name;

          It's also possible that browsers assign unique names to otherwise unnamed windows, so the above would always work - I've never checked this.


          posted on 2006-11-22 15:39 jspark 閱讀(476) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 易门县| 遂溪县| 赞皇县| 唐河县| 香港 | 嘉兴市| 营山县| 五原县| 华安县| 玛曲县| 灵台县| 城固县| 香港 | 马关县| 江华| 卓尼县| 共和县| 易门县| 开封县| 虎林市| 斗六市| 晴隆县| 淮阳县| 平顺县| 昌都县| 霍山县| 布拖县| 呼和浩特市| 裕民县| 民县| 乳源| 平陆县| 丰顺县| 巴楚县| 江西省| 镇平县| 博白县| 灵川县| 永仁县| 资阳市| 昂仁县|