-Changed from onkeypress to onkeyup since we only want to have the
changes from the textfields.