ASP±íÇл»ÏÔʾÎÊÌâ
3¸öÎÄ×ÖÁ´½Ó£ºA£¬B£¬C¶ÔÓ¦ÏÔʾ3¸ö±í¸ñ£º±íA£¬±íB£¬±íC£»
±íAÔòΪĬÈÏÏÔʾ£¬ÕâʱÈç¹ûµãÁËÎÄ×ÖÁ´½ÓBÔòÔõôÏÔʾ±íB£¬ÆäËû±íÔòÊDz»ÏÔʾµÄ£»
ÇëÎʲ»Óÿò¼ÜµÄÐÎʽÔõô½â¾ö´ËÀàÎÊÌâ
HTML code:
<script>
var cur=1;
function doit(n){
if(n == cur) return;
if(cur!=null) document.getElementById("tb"+cur).style.display = "none";
document.getElementById("tb"+n).style.display = "block";
cur = n;
}
</script>
<a href="javascript:doit(1);">A</a>
<a href="javascript:doit(2);">B</a>
<a href="javascript:doit(3);">C</a>
<table id="tb1" style="display:block">
<tr><td>±í¸ñ1</td></tr>
</table>
<table id="tb2" style="display:none">
<tr><td>±í¸ñ2</td></tr>
</table>
<table id="tb3" style="display:none">
<tr><td>±í¸ñ3</td></tr>
</table>
ÓÃÄÚÁ¬½Ó£¡#tableA²»¹ýҪˢÐÂÍøÒ³£¡ÒªÏ벻ˢÐÂÓÃjavascript,ÓÃÒ»¸öÊý×é´æ·ÅtableA,...tableC
ÓÃiframe
<script>
function doit(n){
document.getElementById("tb1").style.display="none";
document.getElementById("tb2").style.display="no
Ïà¹ØÎÊ´ð£º
<form id="form1" runat="server">
<div>
<script type="text/javascript">
function oo(a){
document.getEleme ......
ÎÒÓÐÒ»¸öaspÔ´Â룬µ«ÊdzöÏÖÒ»¸öÎļþ£¬ÎÒÓÃasp½âÃܶ¼ÊÇÂÒÂë
Çë½Ì
VBScript code:
??
%# , #&')*)-0-(0%()(?
(((((((((((((((((((((((((( ......
½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£
µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£
¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£
¶÷ÔõôȡÏûÄØ£¿
Òªµ ......
a.aspx ´úÂë: <asp:Literal ID="ltr1" runat="server" > </asp:Literal>
a.aspx.cs ÀïPage_Load´úÂë: ltr1.Text=" <table> <tr> <td>"+"Ä ......