Remove <p class="classname"> in Javascript?
        Posted  
        
            by streetparade
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by streetparade
        
        
        
        Published on 2010-04-27T09:58:02Z
        Indexed on 
            2010/04/27
            10:03 UTC
        
        
        Read the original article
        Hit count: 425
        
JavaScript
|replace
How can i remove this <p> tag with all its content in javascript?
say i have this html code
<p class="classname">
    <input name="commit" value="Get Value" type="submit"> <span>or Cancel</span>
</p>
Now i need to replace/remove it in javascript, does anyone know how i can remove it?
© Stack Overflow or respective owner