Here is my line:
myArray[i].innerText == x
Here are the values from Chrome console:
myArray[i] = "13 ml Apollo glaze sherry truffel 250ml"
x = "13 ml Apollo glaze sherry truffel 250ml"
myArray[i].innerText == x returns false Why is this happening?
Here is how I define myArray:
myArray= $($('#myIframe').contents()).find('body#tinymce').find('p, li');