這裏是我的代碼:刷新DIV不整頁
main.php:
<script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
<div id="TabbedPanels1" class="TabbedPanels" align="left">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">Member Group</li>
<li class="TabbedPanelsTab" tabindex="0">Fine Group</li>
<li class="TabbedPanelsTab" tabindex="0">Department</li>
<li class="TabbedPanelsTab" tabindex="0">Member</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent"> <?php include 'menage member group.php'; ?></div>
<div class="TabbedPanelsContent"> <?php include 'manage fine group.php'; ?></div>
<div class="TabbedPanelsContent"> <?php include 'manage department group.php'; ?></div>
<div class="TabbedPanelsContent"> <?php include 'manage member main.php'; ?></div>
</div>
</div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
</script>
當我點擊提交按鈕包含在家政員main.php.the整個頁面將被刷新。
沒有代碼... – michelgotta 2011-04-21 08:26:19
StackOverflow是一個針對**專業軟件開發商**的網站。如果您不確定StackOverflow是什麼或者如何表現,請查看[faq](http://stackoverflow.com/faq)。如果你想得到很好的答案,你必須**提出很好的問題。我會**強烈**建議你閱讀[這篇博客文章](http://blog.stackoverflow.com/2010/10/asking-better-questions/1228)提示如何提出更好的問題。 – Will 2011-04-21 14:44:15
@sheetal,請避免回滾編輯,以改善問題的質量和格式。我*再次*重新格式化您的代碼,以便人們可以真正看到問題。 – Charles 2011-04-22 01:09:13