easy ui 子窗口获得父窗口元素的值

Jquery的写法:$("#txtUserId", window.parent.document).val();  //txtUserId为元素id

js的写法:       window.parent.document.getElementById("txtUserId");

  

posted @ 2014-08-11 08:31  小丑不戴面具  阅读(297)  评论(0)    收藏  举报