Finding objects in an array (custom objects with properties)
<p>I am trying to find out if there is a better way to do what I am doing here.</p>

<p>I built a customColumn object that has some properties like ID and Title, etc... </p>

<p>ie.  my cusColum = new aColumn('321', 'Todds Column');</p>

<p>Then put all of those columns into an array - so this array holds objects and not simple values.</p>

<p>So I am doing this to find a particular object in my array:</p>

<pre><code>var len = columnObjects.length;
    for (var i = 0; i &lt; len; i++) {
        if (columnObjects[i].colID == id) {
            columnObjects.splice(i, 1);
            break;
        }      
</code></pre>

<p>The splice is just one thing I am doing with these objects... I would LOVE to be able to use the IndexOf function but dont know how I would write it or if it is even possible ... </p>
