Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多
Solved 封存

javascript codes not working as they should in version 7

aelhabboub replied
aelhabboub

I have a website that is working fine with version 3.6.9, now it is not working as it should be with version 7. My files containing javascript codes, the links in the codes are broken when am registering some controls using the <%@ Register .... /> tag. for example: i have the following code: <%@ Register Src="~/Controls/TempMenu.ascx" TagName="TempMenu" TagPrefix="uc1" %>

now, whenever I click on any button in the page, instead of redirecting me to an existing page within the same folder, it will go to the "controls" folder and search for the page there...

Please help.

I have a website that is working fine with version 3.6.9, now it is not working as it should be with version 7. My files containing javascript codes, the links in the codes are broken when am registering some controls using the <%@ Register .... /> tag. for example: i have the following code: <%@ Register Src="~/Controls/TempMenu.ascx" TagName="TempMenu" TagPrefix="uc1" %> now, whenever I click on any button in the page, instead of redirecting me to an existing page within the same folder, it will go to the "controls" folder and search for the page there... Please help.

所有回覆 (2)

選擇的解決方法

A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

Ok. i will give it a try. Thanks.