What is the proper way to focus a material design lite TextField?
This works:
$("#myTextField").focus();
This does not work:
document.getElementById('myTextField').parentNode.MaterialTextfield.focus();
However, this very similar code works to disable a TextField:
document.getElementById('myTextField').parentNode.MaterialTextfield.disable();