我寫下面的代碼jQuery的負載功能
<script type="text/javascript">
$(document).ready(function() {
$('#disp').load('index.php', function(){
$('#lobar').hide();
});
});
</script>
我需要在加載頁面加載index.php來格命名爲:DIS
感謝
我寫下面的代碼jQuery的負載功能
<script type="text/javascript">
$(document).ready(function() {
$('#disp').load('index.php', function(){
$('#lobar').hide();
});
});
</script>
我需要在加載頁面加載index.php來格命名爲:DIS
感謝
$(function() {
$('#disp').load('index.php', {}, function(){
$('#lobar').hide();
});
});
你問過'dis'元素,但在你的源文件中你引用了'disp'元素。確保你的div的名字。 – Kamarey 2009-10-16 16:57:27