Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi eves, I'm trying to reach an input element inside an iframe. Browsing, found the HTMLIFrame class from mshtml, is there some way to get the element's attributes?
Posted

1 solution

If you have got the iframe object in that case it very simple to find a element inside that iFrame.

Try like this.
var myFrame = [Code by which you are getting your iFrame];
var element = myFrame.document.getElementById("inputBoxId");
 
Share this answer
 
Comments
dsfernandez 20-Jun-10 19:40pm    
WebBrowser.DocumentText isn't showing the HTML source generated by the iframe, either its inner elements

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900