JQUERY Get Element By parameter ID

后端 未结 6 999
执念已碎
执念已碎 2021-01-20 10:31

just want to know what is the equivalent syntax of this to jquery.

var elm_id = \'my_id\';
var elm = document.getElementById(elm_id);

thank

6条回答
提交回复
热议问题