Hello I have a problem when I modify the input of a iframe that is open with SimpleModalWindow Plugin.
I have the code:
$ ("#imgTab").click(function(){
$ ("#iframeNode").contents().find("input[name='objParent']").val('val1');
$ ("#modalWindow").modal({
opacity:80,
overlayCss: {backgroundColor:"#fff"}
});
});
the iframe is in a div
<div id="modalWindow" style="display:none;background-color:#FFFFFF">
<iframe src="biblioteca.php" height="600px" width="900px" id="iframeNode" name="iframeNode"></iframe>
</div>
And the element to modify into the iframe is:
<input type="text" name="objParent" id="objParent"/>
Thanks.