Well the title says the problem.

I have a form and an iframe, like this:

HTML Code:
<form action="image.php" method="post" enctype="multipart/form-data" target="target">
<input id="file" type="file" name="file"/> 
<input id="submit" type="submit" name="submit" value="Submit"/>
</form>
<iframe id="target" name="target" src="image.php" style="display:none;"></iframe>
I need to only load the src file on iframe when the form is submited and not when the page is loaded.

How can i resolve this?

Thanks Community