<div id="where_to_show_second_file"></div>
<script type="text/javascript">
$("document").ready(function(){
$.ajax(
{
type: "POST",
url:"second_file.php",
data: "p=" + param, //Ако трябва да зададеш стойности на параметри
success: function(result){$("#where_to_show_second_file").html(result);},
error: function(msg){alert( "Write Error: " + msg );}
});
});
</script>