Here are my Codes … I want to remove Elements that are listed in “removeElements” array if they exist.
so i made a loop through that array.
If that array starts with element which exists in variable X everything works fine. like :
var removeElements = new Array(".cindymenubar", ".menu", ".drop-menu-layout", ".right-menu", ".menu-box", "#nav", "#MainHMenu", "#MainVMenu", ".slide-menu-layout");
but if it start with element that doesn’t used in variable X null will return
OR: