i use this jquery in order to load the another file.and also for implementing jquery we need to include something else other than jquery.js...
and my html part is
Code:
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#button").click(function(){
$("#sem_content_right").slideToggle();
$("#two").load('chief_input_form.php');
});
});
Code:
<div id="sem_con_wrapper">
<div id="sem_content_left">
<?php include("sem_input_form.php");
?>
</div>
<div id="sem_content_right">
<?php include("chief_input_form.php");
?>
<input type="button" value="ONE MORE" id="buttton" />
</div>
<div id="two" style="background-color:#066; height:500px; width:330px;>
</div>
Comment