For example, the following selects a division with id=\"2\":
row = $(\"body\").find(\"#2\");
How do I do something like this:
r
I don't know much about jQuery, but try this:
row_id = "#5"; row = $("body").find(row_id);
Edit: Of course, if the variable is a number, you have to add "#" to the front:
"#"
row_id = 5 row = $("body").find("#"+row_id);