(Refer to code example 10-2) Why is the following line of code necessary after the if-else statement? \$("#password").val(password); O The val() method removes the password entered by the user, so this code displays the original password. O The next() method replaces the password entered by the user, so this code displays the original password. O The text() method replaces the password entered by the user, so this code displays the original password. O The trim() method removes extra spaces entered by the user, so this code displays the trimmed password.