To get complete html of page except few divs with particular class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skavinkar
    New Member
    • Jun 2012
    • 23

    #1

    To get complete html of page except few divs with particular class

    I want to get complete html of page in javascript except few div's with particular class applied on them.I am using this to get the complete html of my document
    Code:
    $(window.document.documentElement).html().toString()
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Substring out the parts you don't want.

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5390

      #3
      either that or traverse through all elements of the page and collect only those u want.

      Comment

      Working...