Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why href="#XXX" doesn´t work on firefox?

  • 12 个回答
  • 9 人有此问题
  • 108 次查看
  • 最后回复者为 elfujiyama69

more options

First at all, sorry for repost about this topic but the topic that i saw doesn´t solve my problem. I have this code:

<tr>
    <td align="left">&nbsp;
		<a class="soporte" href="#faq_<%=id_grupo2%>_<%=orden2%>" style="font-family:cursive; FONT-WEIGHT:normal;">
		&nbsp;<strong><%=pregunta2%></strong></a>
	</td>
</tr>			
<% }
	}%>	
<tr> <td align="center" class="FilaTransparenteSoporte"> </td></tr>
<tr class="<%=claseFila%>">
	<td align="left" class="<%=claseFila%>">&nbsp;
		<a id="faq_<%=id_grupo%>_<%=orden%>" name="faq_<%=id_grupo%>_<%=orden%> </a><strong><%=pregunta%></strong>
	</td>
</tr>

My problem is that the <a class="soporte" href="#faq_<%=id_grupo2%>_<%=orden2%>...</a>" doesn't do anything. It´s works in all browsers less firefox. Could anybody help me?

PD: Thanks for everything and sorry about my english...

First at all, sorry for repost about this topic but the topic that i saw doesn´t solve my problem. I have this code: <pre><nowiki><tr> <td align="left">&nbsp; <a class="soporte" href="#faq_<%=id_grupo2%>_<%=orden2%>" style="font-family:cursive; FONT-WEIGHT:normal;"> &nbsp;<strong><%=pregunta2%></strong></a> </td> </tr> <% } }%> <tr> <td align="center" class="FilaTransparenteSoporte"> </td></tr> <tr class="<%=claseFila%>"> <td align="left" class="<%=claseFila%>">&nbsp; <a id="faq_<%=id_grupo%>_<%=orden%>" name="faq_<%=id_grupo%>_<%=orden%> </a><strong><%=pregunta%></strong> </td> </tr> </nowiki></pre> My problem is that the &lt;a class="soporte" href="#faq_&lt;%=id_grupo2%&gt;_&lt;%=orden2%&gt;...&lt;/a&gt;" doesn't do anything. It´s works in all browsers less firefox. Could anybody help me? PD: Thanks for everything and sorry about my english...

由cor-el于修改

被采纳的解决方案

Hi everybody!!

I finally solve the problem. I dont know what was the real problem but Im going to explain how I solve it. That code was in a iframe that is located in a parent jsp and it is empty until I call a javascript function which calls a jsp in the server and this fill the iframe.

Cor-el The text in the id and in the href are exactly the same.

Well, if I open that iframe in a new tab the href works but not in the parent frame. My solution was to delete the iframe and write the code directly in the parent jsp. I don´t know if you understand because it´s difficult to explain and more in English for me...

PD: Thanks everybody for your help and thanks guigs2 for the information!

定位到答案原位置 👍 4

所有回复 (12)

more options

What are you trying to do with that code?

more options

Im trying to move to other place on the same page

more options

I dont know how to write the code on this thing... but i think the image will helps to see what it is doing xD

more options

elfujiyama69,

Okay, forgive me for not understanding. Are you having problems with HTML and don't know what code to use or are you having problems with Firefox's Developer Tools?

Exactly what are you trying to achieve with the code? Are you building a site?

more options

Hi Moses,

First at all thanks for your help! Im building a web application. The first <a href> tag its supossed to move to the other <a> tag below. Its works in chrome and IE but I dont get it on firefox.

more options

Ah, okay! I understand you, now.

I don't know much about programming so I'm not the best person to help you on this issue, but I'll get someone else to help you out with this.

I've also escalated this thread to the SUMO Help Desk who are full-time Mozilla employees.

由M B于修改

more options

Thanks for your time Moses!

more options

You seem to be using Unicode quotes instead of the normal quotes ("), so check your code.

more options

Hi cor-el,

Thanks for your time. No, I´m using normal quotes

more options

What is the resulting code send by the server after it has been processed?

more options

I looked in the mdn website and found some references to the asp/jsp method you are using and looks at some templates:

stackoverflow.com will have some better insight on ASP.net methods:

If the issue continues, please file a bug with [dev.webcompat.com] :-)

more options

选择的解决方案

Hi everybody!!

I finally solve the problem. I dont know what was the real problem but Im going to explain how I solve it. That code was in a iframe that is located in a parent jsp and it is empty until I call a javascript function which calls a jsp in the server and this fill the iframe.

Cor-el The text in the id and in the href are exactly the same.

Well, if I open that iframe in a new tab the href works but not in the parent frame. My solution was to delete the iframe and write the code directly in the parent jsp. I don´t know if you understand because it´s difficult to explain and more in English for me...

PD: Thanks everybody for your help and thanks guigs2 for the information!