Execute jquery after ajax load

Execute jquery after ajax load

hi everybody

i have question about how to execute the javascript code after call it by ajax sure with jQuery ?

for exmple


<script type="text/javascript" src="dfile/js/jquery.js"></script>
<script type="text/javascript">

function pri(forshow,forhid_1,forhid_2,forhid_3){

   $(forshow).show();
   $(forhid_1).hide();
   $(forhid_2).hide();
   $(forhid_3).hide();
};

</script>



<label><input type="radio" name="prices_time" onclick="pri(p_0,p_1,p_2,p_3);" value="6" checked>6 months</label>
<label><input type="radio" name="prices_time" onclick="pri(p_1,p_0,p_2,p_3);" value="12">12 months</label><br />
<label><input type="radio" name="prices_time" onclick="pri(p_2,p_1,p_0,p_3);" value="24">24 months</label>
<label><input type="radio" name="prices_time" onclick="pri(p_3,p_1,p_2,p_0);" value="other">Other</label>


<div id="p_0">10$</div>
<div id="p_1" style="display:none">20$</div>
<div id="p_2" style="display:none">30$</div>
<div id="p_3" style="display:none">Write the duration you want it in the comment.</div>



or directly without function

<label><input type="radio" name="prices_time" onclick="$(p_0).fadeIn('slow'),$(p_1).fadeOut('slow'),$(p_2).fadeOut('slow'),$(p_3).fadeOut('slow');" value="6" checked>6 months</label>
<label><input type="radio" name="prices_time" onclick="$(p_1).fadeIn('slow'),$(p_0).fadeOut('slow'),$(p_2).fadeOut('slow'),$(p_3).fadeOut('slow');" value="12">12 months</label><br />
<label><input type="radio" name="prices_time" onclick="$(p_2).fadeIn('slow'),$(p_1).fadeOut('slow'),$(p_0).fadeOut('slow'),$(p_3).fadeOut('slow');" value="24">24 months</label>
<label><input type="radio" name="prices_time" onclick="$(p_3).fadeIn('slow'),$(p_1).fadeOut('slow'),$(p_2).fadeOut('slow'),$(p_0).fadeOut('slow');" value="other">Other</label>


I made function to call the page


function goot(page, wheres, lod){

$(lod).ajaxStart(function(){
   $(this).show();
});

$(wheres).load(page);

$(lod).ajaxStop(function(){
   $(this).hide();
});
}


what the way to keep the javascript can be execute after called ?