Jump to content

Recommended Posts

Posted

its possible to remove duplicate html element's line from internet explorer ?

I want to remove these duplicate elements :

<div id="billdetail">...</div>
<div id="printdetail">...</div>

<div id="billdetail">...</div> (Duplicate)
<div id="printdetail">...</div> (Duplicate)

 

Posted (edited)

You would have to determine the duplicates, and specifically delete them https://www.w3schools.com/jsref/met_node_removechild.asp

Maybe like: get all divs, output their id to an array if not already in the array.   if it IS in the array, remove that node

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...