Any ideas: How to assign the same input value to similar input ids?

Any ideas: How to assign the same input value to similar input ids?

Looking for ideas on how to accomplish this.  We have a list of 10 character part numbers that are grouped like this:

EDDRTTFF12
EDDRTTFF13
EDDRTTFF14
EDDRTTFF15
EDDRTTFF16

ADDRTTFF12
ADDRTTFF13
ADDRTTFF14
ADDRTTFF15
ADDRTTFF16

In the list we are asking for the user to set the price of these groups.  The field name is generated on the fly by the partnumber.

<input type="text" name="price_ADDRTTFF14" id="priceid_ADDRTTFF14" value="">

There are about 120 groups like this and 2000+ partnumbers.  

The goal is that when a user enters the price in one input all the similar part numbers inputs will become that price too. Any ideas?  And thanks!