Fix exception when reading input with value

att.value throws error when trying to call/parse the actual text value of a dynamic create elemeent using jquery.