Javascript reference dynamically created elements amand script needed

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I have a form which I use to submit info to mysql database.(posted as an array)On this form I have a dropdown list which has an onchange event attached to it. When I select an option from the list box I call an ajax script which goes off to the database, gets the info I require and returns it in a json string. This info then populates the text boxes in the form row.When I dynamically create another row in the form I am unable to get the row of new text boxes to populate with the info selected by the new dropbox option.I have looked at the page in firebug and I can see that the script is appending"1"to the id's of the new dynamically created inputs.What I need is to change the "onchange" event in the javascript to look/listen for the new dynamically created inputs.The solution must be cross browser compatible.The script is below....

Skills required:
Javascript, PHP
Hire broadoak
Project posted by:
broadoak United Kingdom
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 132
in 2 days
$ 65
in 0 days
$ 154
in 3 days
Hire truongnx15fl
$ 45
in 3 days
$ 309
in 10 days
$ 50
in 0 days
$ 110
in 3 days
$ 82
in 3 days
Hire jibyjose001
$ 250
in 5 days
$ 97
in 2 days