How to remove tthe duplicate lines in a div using javascript jquery php : Hi am trying to remove the duplicate lines in a div . How can I remove them


     <div id="content>
       <p>Hello</p>
        <p>why</p>
         <p>are</p>
         <p>hello</p>
       </div>

Output is shown as
        
      hello
      why
      are
      hello
How can I remove the duplicate lines