锚标记中的URL无效

时间:2016-11-23 16:59:34

标签: html

我想将一个HTML页面链接到另一个HTML页面。所以,我使用锚标记

DECLARE @counter INT = 0;
DECLARE @currentPID varchar(50);
DECLARE @currentID varchar(50);
DECLARE @currentHID varchar(50);

WHILE @counter < (select COUNT(*) from #temp)
BEGIN
   set @currentID = (select top (1) x.Id from (select top(@counter) * from #temp order by Id desc) x)
   set @currentPID = (select top (1) x.p_id from (select top(@counter) * from #temp order by Id desc) x)
   set @currentHID = (select top (1) x.h_id from (select top(@counter) * from #temp order by Id desc) x)

   if((select COUNT(*) from #temp t where t.Id != @currentID and t.p_id = @currentPID) > 0)
      update #temp 
      set ProvincialPID = @currentPID
      where Id = @currentID
   else if ((select COUNT(*) from #temp t where t.Id != @currentID and t.p_id != @currentPID and t.h_id = @currentHID) > 0)
      update #temp 
      set ProvincialPID = @currentHID
      where Id = @currentID

   SET @counter = @counter + 1;
END;

作为我的&#34; xyz.html&#34;在当前文件夹中,单击&#34;签署&#34;,它不起作用。

即使我也在点击方法上应用了jQuery。

2 个答案:

答案 0 :(得分:0)

假设您的锚标记中有“sign”,请尝试:

<a href="xyz.html">Sign</a>

答案 1 :(得分:0)

您未关闭<a href="xyz.html">sign</a>

&#13;
&#13;
<a>
&#13;
&#13;
&#13;

hyperlink代码定义public class Dice { private boolean canRoll; private int value; public Dice() { canRoll = false; value = 0; } public int roll() { if(canRoll) { // Roll the dice! value = /* Roll algorithem */; } return value; } public void setCanRoll(boolean k) { this.canRoll = k; } } ,用于从一个页面链接到另一个页面