How to display wrong password error message from javascript MDL textfield

I am trying to write a login page but I am stuck at displaying the message in mdl-textfield__error when the password is wrong. My html code is as follows:

Getting value from mdl radio button

In the following code why doesn’t the radio report the correct value when checked via its variable name? var $myRadio = $(‘input[type=radio][name=options]:checked’); $(‘#button’).click(() => { /…

MDL – popup snackbar on page load

I am using material design light, from google, and jquery. I cannot seem to get the snackbar to show on pageload. The error that I am getting is index.cshtml (extract)