changed item.value. now alert shows the inputs