(javascript)need to get user enter/return on multiple inputs in a html list [closed]

i have a program that has a lot of inputs in a ol element and need to get user enter/return
(to trigger something in js). the inputs are auto generated using JavaScript and have a id with ‘”inp” + number’ so like “inp1″,”inp2″,”inp3” ect.

thanks in advance -myrccar