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
I think what you're looking for is
var elm_id = 'my_id'; var elm = $('#' + elm_id);