Código HTML:
<script type="text/javascript"> function Lifra(ifr) { var iframe = document.getElementById("miIframe"); ajax=objetoAjax(); iframe.src ==ajax.open(ifr,"save_.php",true); iframe.contentWindow.location.reload(true); } </script> <style> .b1{ padding: 4px; } .b2{ padding: 4px 100px; } #izq{ width:187px; height:650px; float:left; position: absolute; top: 20px; left: 50px; } #der{ width:187px; height:650px; float:rigth; position: absolute; top: 20px; left: 700px; } </style> <html> <head> <meta charset="utf-8"> <title>Captura de PDF File</title> </head> <body> <div id="izq"> <form enctype="multipart/form-data" name="form1" action="save_.php" method="POST"> <p align="left"><strong>BUSCAR PDF</strong></p> <p align="left"><input name="uploadedfile" type="file" size="80" maxlength="50" class="b1" onChange="lifra(this.value)"/></p> </form> </div> <div id="der"> <iframe id="miIframe" name="miIframe" src="" width="640" height="750"></iframe> </div> </body> </html> </div>