how to display selected html table row values into input text using javascript ( with source code)