Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6140211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:05:17+00:00 2026-05-23T18:05:17+00:00

I have a test server with a page using jquery autocomplete. The autocomplete feature

  • 0

I have a test server with a page using jquery autocomplete. The autocomplete feature works fine if I connect to the server using Firefox 3.6. Unfortunately it doesn’t work in Chrome or Firefox 5. Here is the html:

<html>
<head>
    <title>Test Page</title>

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">     
</script>
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js"></script>
  <link type="text/css" href="/static/css/jquery-autocomplete/jquery-ui-1.8.14.custom.css" rel="stylesheet" />
    <script>
  $(document).ready(function(){
     url = "/autocomplete/";
     $("#searchInput").autocomplete({
         source: url
     });
  });
  </script>

    <link rel="stylesheet" href="/static/css/site.css" />

</head>
<body>

    <div id="content">

<script language="JavaScript">
<!--
function setSearchUrl() {
       searchUrl = "/search/" + document.searchForm.nickname.value + "/"
       document.searchForm.action = searchUrl;
}
//-->
</script>

<h3>Search</h3>
<form
   name="searchForm"
   action="/search"
   method="get"
   onSubmit="setSearchUrl()"
   autocomplete="off">
<input id="searchInput" type="text" name="nickname" autocomplete="off">
<input type="submit" value="Search">
</form>
<script language="JavaScript">
<!--
document.searchForm.nickname.focus();
//-->
</script>

    </div>
</body>
</html>

Any ideas on what might be going awry?

edit: firebug (in both browser versions) did not show any errors. Development tools in Chrome did not seem to complain either.

Thanks!

-Travis

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:05:18+00:00Added an answer on May 23, 2026 at 6:05 pm

    Check out this fiddle: http://jsfiddle.net/jensbits/AmvsX/

    It should get you pointed in the right direction and the setSearchUrl function should not be necessary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a script that works fine on my test server (using IIS6). The
I am using SQL Server 2008 Enterprise. I have created a very simple test
Okay, I have a simple test server set up using socket.io in node.js. My
I have a jquery datatable using the following code: // Test list table $('#dashboard_testlist_table').dataTable({
I have a simple test page I'm using to test out displaying partial views
i have an older test unix server with mysql 4.1 enterprise edition on it.
I have 2 test and 1 production server. In my global.asax file - I
I'm trying to create a very simple REST server. I just have a test
Normally I would have one junit test that shows up in my integration server
Let's say I have two database instances: InstanceA - Production server InstanceB - Test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.