Deleting from an array based on a string value
<p>I have defined an array like so :  </p>

<pre><code>var myArray = {myNewArray: ['string1' , 'string2' , 'string3']};
</code></pre>

<p>I want to iterate over the array and delete an element that matches a particular string value. Is there a clean way in jQuery/javascript to achieve this ?</p>

<p>Or do I need to iterate over each element, check its value and if its value matches the string im comparing, get its id and then use that id to delete from the array ?</p>
