compare 2 arrays so that if one array has elements within the other array these elements are eliminated from the other array?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1187518/javascript-array-difference">JavaScript array difference</a>  </p>
</blockquote>



<p>Using jquery or javascript how do I compare 2 arrays so that if one array has elements within the other array these elements are eliminated from the other array? </p>
