jquery - dom manipulation

Posted by grega g on Stack Overflow See other posts from Stack Overflow or by grega g
Published on 2010-05-14T19:01:24Z Indexed on 2010/05/14 19:04 UTC
Read the original article Hit count: 416

I would like to show in dialog all elements with specific class. The dialog should hide the rest of the page. So for example:

On this SO page I want to show all elements with class="user-info". Those elements would be shown in dialog with same width and height and same css and everything else would be hidden. It would be like cutting them out of the page and pasting them in a dialog.

Any ideas how this could be done?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about dom