in this case, `text()` and `val()` are the same, but it's typically bad to merge presentation and functionality like this, so i'd use `val()` instead, or whatever jquery call gets you the `value` attribute.