Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$(element).'select'.material_select();
这句话的结果应该是什么?.'select'is 没有 JS 语法。
.'select'
尝试:
$(element).material_select(); // if the element is already the select element
或者:
$(element).find('select').material_select(); // find a child select of the element