>Example:
>
>var jElement = $("#"+element).attr("id");
In the above code, jElement would be equal to the "id" of first matched
selector (if there was one.)
>alert(jElement.attr('id'));
I think maybe you're looking for:
var jElement = $("#"+element);
alert(jElement.attr('id'));
However, in this case the variable "element" would already contain the "id"
you're looking for.
-Dan

