How do you delete divs that have the same ids but their dispaly properties are different
<p>i have two divs with the same ids but one has display=none and the other has display=block
i want to delete the one with display='none'
i am using javascript framework <strong>prototype</strong></p>
