I'm new to jQuery
. I assume this was asked hundred of times, but I couldn't find an answer.
I have a page in dotnetnuke
in which I know the CSS Class
but I need the element ID
.
In this case I know that there will be only one element with the CSS Class
.
How do I find it in jQuery
?
Edit:
I want to move all children of the element with class FloatingFrameLightBlue1
to be children of PopupWrapper
that i created a line before. But the append doesn't seems to work.
what I'm doing wrong.
the code I have:
.
.
jQuery("body").append("<div id='popupWrapper'></div>");
jQuery(".FloatingFrameLightBlue1").children().append("popupWrapper");
.
.