e.g. if i have this: whatever
then let say in jQuery, how can I find out that the dom element with id \"mydiv\"
var domElement = $('#mydiv').get(0); alert(domElement .tagName);
may be of use.