Make changes from Matt Wallace: ID name and val() instead of [0].value.