Hey,
I have a form inside an iframe that needs to be manipulated from the main frame.
The iframe is viewed in a pop-over when a button is clicked in the main frame. It then contains a upload form with a hidden field called dir.
I want to set the hidden field before showing the form. I tried:
$('#upload_iframe').contents().find('#dir').val(dir);
... which runs. And the new value can be printed with alert() in the main frame. However, the iframe doesn't change it's value. Can you help me figure out why?
Thank you!