Is it possible to get the entire dom of a source page excluding some elements?
What’s the jquery code for document.documentElement.innerHTML; ?
And how to remove from that code some divs?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Jquery code for document.documentElement.innerHTML; can be
here element can be a class ,id or the type of element itself such as (‘.class’)
(‘#id’) or (‘p’) To exclude an element you can write
;where exclude is the class name of the elements which you want to exclude