Well the title says the problem.
I have a form and an iframe, like this:
I need to only load the src file on iframe when the form is submited and not when the page is loaded.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>
How can i resolve this?
Thanks Community


Reply With Quote

Bookmarks