iamtech Posted April 19, 2018 Share Posted April 19, 2018 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) Link to comment Share on other sites More sharing options...
jdelaney Posted April 19, 2018 Share Posted April 19, 2018 (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 April 19, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now