Jump to content
iamtech

How to remove duplicate HTML from internet explorer ?

Recommended Posts

iamtech

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)

 

Share this post


Link to post
Share on other sites
jdelaney
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.

Share this post


Link to post
Share on other sites

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

×