Reputation: 219
I am using asp.net 4.5.1 webform. I have a asp.net page "Default.aspx".I have a IFrame in this page :
<iframe id="myFrame" name="myFrame" src="" runat="server"></iframe>
also I have a button on this page. On the click event of the button I set src of Iframe which is not in my domain. forexample : src="www.google.com". when Iframe become loaded inside of that is a textarea.
<textarea class="textarea" name="msg" id="msg" ></textarea>
I want after each time that my Iframe loaded (all the time that I click on my button in default.aspx which force the Iframe load), change the text of msg textarea. I used jquery but I wasnt successful. is there any way to do?
Upvotes: 0
Views: 353