I want to select a div with an id or class and at the same time exclude a id or class inside the div and get the content as string. So I tried $(\'#main-content:not(.i
$(\'#main-content:not(.i