The official Materialize documentation states that to automatically increase the height of the textarea, you must call $('#log').trigger('autoresize');

Alas, for me it gives only an Uncaught TypeError: $(...).trigger is not a function error Uncaught TypeError: $(...).trigger is not a function .

How to fix?

  • Is jQuery connected? - Andrey ProjectSoft
  • It seems yes, the console did not issue an error on $('#log') , it means it is connected - ivan770
  • read it? electronjs.org/docs/… - nörbörnën
  • And what issued console on $('#log') ? And what does "like" mean? - Andrey ProjectSoft
  • @AndreyProjectSoft <textarea id="log" class="materialize-textarea" style="height: 43px;"></textarea> - ivan770

0