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 9033541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:15:54+00:00 2026-06-16T08:15:54+00:00

If you check out http://thecomputerwarehouse.com/test.php you can see a working example of what I

  • 0

If you check out http://thecomputerwarehouse.com/test.php you can see a working example of what I am trying to accomplish. You can type “q” to show results from the list.

I am using some home grown scripts I have found on the web and basically I am trying to auto populate a list and select the record which then inserts the value into the field which is working fine.

What I am trying to figure out is when you click the “add another serial number” it then gives you another field. The problem is that the next field(s) besides the first one will not auto populate the list.

In the javascript where I have

newdiv.innerHTML = "Serial Number " + (counter + 1) + " <br><input type='text' name='course"+(counter + 1)+"' id='course"+(counter + 1)+"'>";

I am trying to add the counter to it so that it ads a unique id name. The problem is that I can’t figure out how to apply the same thing to the ajax code in

$("#course").autocomplete("getinventoryajax.php", {

since the first field is named “course” I need to be able to change the field with the javascript and somehow the ajax needs to recognize that as well. Since I know the reason all the other fields are not auto populating because the name of the following fields is being repeated as “course” which breaks the code.

Any advise?

UPDATE

I finally figure out how to accomplish what I needed done. I needed to add the autocomplete to my JS which ultimatly fixed my issue. There is a link from Nameisnull helped me out 🙂 thanks

  • 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-06-16T08:15:55+00:00Added an answer on June 16, 2026 at 8:15 am

    The problem is that the new added elements do not have autocomplete bounded to them (keep the changes you’ve made).

    You should look into this

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

Sidebar

Related Questions

Check out http://waterski.allthingswebdesign.com/index.php/site/index and you can see that my Nivo Slider is not centered
Please check my website out: http://www.budgie.richardcmpage.com/index.php I've tried all sorts and can't get the
OK, so if you go check out http://furnace.howcode.com you'll see the example. [The site
Check out http://campbellcustomcoatings.com/ in something other than IE7, then in IE7. You can see
Please check out this link: http://davidwalsh.name/dw-content/textboxlist.php As you can see its a textbox list
Can check out here alt text http://51hired.com/static/problem.bmp
Check out http://cancerpreventionnetwork.org/participants.shtml and you can see that the header is dropped down on
This will blow your mind... Check out http://blue-anvil.com/jquerycurvycorners/test.html using IE Curved corners look nice
Check out this test: http://jsperf.com/delegate-on-vs-bind-5 What I did was delegate the child with a
Check out http://fube.ca in any browser but Firefox and you'll see that the cloud

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.