I am creating an applicaiton where I want to access the content of nestend iframe. Say I have a page test.aspx Now there is an iframe say iframe1. and the content of this iframe is another iframe. say iframe2 So its a nested iframe. Now I want to access the content of the iframe2. How we can access the content of this 2nd iframe as I have to search some text in the 2nd iframe. I want to access the iframe with javascript or jquery only.
相关问题
- how to get selected text from iframe with javascri
- How do you scroll an iframe from within using jque
- Is there any way to make the background of a 3D-mo
- jquery: nested tags and hover() not working in IE
- Iframe scrollbar align to right
相关文章
- iframe的里内容看不到,但却点得到
- Mocking nested properties with mock
- iframe content disappears on Firefox
- Changing an IFrames InnerHtml from codebehind
- Scrolling issues with ExtJS 5 app inside IFrame
- iframe not reading cookies in Chrome
- Get all values from nested dictionaries in python
- Does html5 local storage store per iframe?
Finally I found the solution.
and for the innerHTML use
frameElement.contentDocument.activeElement