jquery select iframe children

后端 未结 7 883
借酒劲吻你
借酒劲吻你 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
    }
    
    
    0 讨论(0)
提交回复
热议问题