jquery select iframe children

后端 未结 7 951
借酒劲吻你
借酒劲吻你 2020-11-30 03:10

I am using the editArea library and jquery to do what i need...

http://www.cdolivet.com/index.php?page=editArea&sess=2b8243f679e0d472397bfa959e1d3841

so

7条回答
  •  野性不改
    2020-11-30 03:48

    You should be doing

    
    iframeDoc = document.getElementById('resultsFrame').contentWindow;
    // result frame is id of iframe
    $(iframeDoc).keydown(function(e))
    {
    // your functionality here
    }
    
    

提交回复
热议问题