187
rated 0 times
[
188]
[
1]
/ answers: 1 / hits: 24125
/ 9 Years ago, tue, may 5, 2015, 12:00:00
I've read the other examples where toLowerCase
is undefined but I still don't understand. Can anyone explain why my function won't work?
var changeTitle = function() {
var loanTitle = $(this).val();
$(this).prev().text(loanTitle);
};
<h2>Loan One</h2>
<input type=text onkeypress=changeTitle() maxlength=25 />
More From » jquery