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
In jquery the following code is being written as:
var elm = $("#my_id");
OR you can write as:
var elm_id = 'my_id'; var elm = $("#" + elm_id);