為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Search does'nt work within web site

  • 6 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 ttntl03

more options

Hello, our company web site is markbroumand.com. On our search page, a user should be able to type in a SKU number that corresponds with a product, for example, 2542-1, and that product should display. It doesn't display on Firefox but I tested the search function on Safari and it works just fine. Please advise.

Hello, our company web site is markbroumand.com. On our search page, a user should be able to type in a SKU number that corresponds with a product, for example, 2542-1, and that product should display. It doesn't display on Firefox but I tested the search function on Safari and it works just fine. Please advise.

所有回覆 (6)

more options

Works for me on Windows.

When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.

(1) Bypass Firefox's Cache

Use Command+Shift+r to reload the page fresh from the server.

Alternately, you also can clear Firefox's cache completely using:

"3-bar" menu button (or Firefox menu) > Preferences > Advanced

On the Network mini-tab > Cached Web Content : "Clear Now"

If you have a large hard drive, this might take a few minutes.

(2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:

  • right-click and choose View Page Info > Security > "View Cookies"
  • (menu bar) Tools > Page Info > Security > "View Cookies"
  • click the globe icon to the left of the address in the address bar, then More Information > "View Cookies"

In the dialog that opens, you can remove the site's cookies individually.

Then try reloading the page. Does that help?


In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: Diagnose Firefox issues using Troubleshoot Mode.

You can restart Firefox in Safe Mode using either:

  • "3-bar" menu button > "?" button > Restart with Add-ons Disabled
  • Help menu > Restart with Add-ons Disabled

Not all add-ons are disabled: Flash and other plugins still run

After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (not Reset).

Any difference?

more options

Actually, I noticed one thing broken, which is using the small box to the left of an existing search result, if you click the Search button it works, but if you press the Enter key to submit the search, it does not.

When clicking the button, the posted form data includes a value for the search button:

ctl00$MainContent$btn=search

When pressing Enter, the posted form data has this parameter data instead:

ctl00$Header$Search$btnSearch.y=0
ctl00$Header$Search$btnSearch.x=0

This is causing the server to send a different redirect back to Firefox. In the click case, the search term is included in the URL, and in the Enter case, it is not.

more options

Okay, similar discrepancy with the large search box on the advanced search page. Clicking the button sets

ctl00$MainContent$search=search

But pressing Enter yields:

ctl00$MainContent$search=

And that causes a difference in the server response.

This may be a glitch in the ASP.Net script associated with submitting the form.

more options

jscher2000, thank you for your help!

I've tried clearing the cache but that didn't change anything. I'm going to forwarded the broken info to our programmers and see if it's something they can resolve. In your opinion, is it strictly a broken button or does it have anything to do with Firefox? I'm thinking about switching out of Firefox....

more options

Sorry, do you get the same result as me -- button works, Enter fails -- or do the search buttons not work for you?

I don't have Safari to test.

When I test the problem behavior in Google Chrome, the form ignore the Enter key; nothing happens when I press it. So that forces me to click the Search button.

Maybe that was the workaround the page designers adopted, but their code doesn't work in Firefox?

more options

Yes, I get the same results as you with the click and enter. I'm waiting to hear from my programmer. Thanks!