为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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!