日期:2014-05-17  浏览次数:20929 次

怎么实现.问题和有关代码如下
我的意思是:有一个主页面,两个函数1和2,这两个函数实现的是不同结果,
现在我实现了打开主页面时,就把第一个函数实现的结果包含在主页面中了.
我现在想实现的是,点击第一个函数结果中的一个连接后,把第二个函数的结果,显示在主页面中,
这样主页面的固定元素不变
函数2中:
<%   sub   chakan()
response.Write( "hello ")
  end   sub%>

函数1中:       response.Write " <td   align= 'center 'style= 'word-break:break-all '> <font   color= '#000000 '> <a   href=?action=chakan&topicsid= "&rs(0)& "> "&RS(num)& " </a> </font> </td> "
主页面中:
if   request( "action ")= "chakan "   then
response.Write " <td   colspan= '4 '   align= 'left '> sdf </td> "
chakan()
response.Write " </td> "


------解决方案--------------------
if request( "action ")= "chakan " then
response.Write " <td colspan= '4 ' align= 'left '> sdf </td> "
chakan()
response.Write " </td> "这后面少了一个end if

还有就是rs(num)是什么啊.应该是rs( "num ")吧