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
Selecting by ID in jquery is done with the # character:
#
$('#my_id')
I invite you to read the documentation about jQuery Selectors