
So I changed the function forgotPasswordResponse method from:

to (note the new jQuery method):

and now the Div that holds that text has an ID that Michael can use

we can also confirm that the Div is there by using $(”#emailSentMessage”) on the Chrome’s console:

and we can change it’s value using $("#emailSentMessage").html("A new message")

1 comment:
That is a great stuff and fairly easy!. I'm under the impression that trying to find elements by Id is a better way (considering that Ids should be unique per page) based on the HTML specification.
It would be great to publish a reseach based on times, what do you think?
Post a Comment