JQuery tr:not to skip 2 trs with class names
<p>I want to skip 2 tr in the table with 2 different classes. </p>

<p>first tr with class is .gridTitleRow and 2nd tr with class is .gridSpan . How to skip these in below syntax?</p>

<pre><code>$.each($(".gridTable tr:not(.gridTitleRow)"), function(a, b){});
</code></pre>

<p><strong>EDITED</strong> I am using each like below</p>

<pre><code>$("#gridBtn").live("click", function (e) {
    e.preventDefault();
     var indexArraay = [];
     var flag = false;
     $.each($(".gridTable tr:not(.gridTitleRow)"), function(a, b){

            var id = $("input.idField", b).val();
            var order = $("input[id='index']", b).val();
            var active = $("input[id='activeCb']", b).attr("checked");
            var deleteRow = $("input[id='deleteCb']", b).attr("checked");

            (deleteRow == true) ? flag = true : null;

            indexArraay.push({
                "id": id,
                "index": order,
                "active": active,
                "delete": deleteRow
            })
     });

    if (flag == true)
    {
        $("#dialog:ui-dialog").dialog("destroy");

        var text = "Alert: Deleting footer Prent menu will delete all submenus and assigned pages to it.";
        $('&lt;div title="Confirmation:"&gt;' + text + '&lt;/div&gt;').dialog({
            height: 'auto',
            width: 350,
            modal: true,
            resizable: false,
            buttons: {
                Cancel: function () {
                    $(this).dialog("close");
                },
                Confirm: function () {
                    $(this).dialog("close");
                    ProcessGrid(indexArraay);
                    ReloadGrid();
                }
            }
        });
    }else{
        ProcessGrid(indexArraay);
        //ReloadGrid();
    }

}); //End of gridBtn
</code></pre>

<p><strong>Table</strong></p>

<pre><code>&lt;script id="gridTemplate" type="text/x-jQuery-tmpl"&gt;
    &lt;tr class="gridRow"&gt;
        &lt;td class="gridSpan" colspan="5"&gt;${$data[0].Title}&lt;/td&gt;
    &lt;/tr&gt;
    {{tmpl($data) "#cellTemplate"}}
&lt;/script&gt;
&lt;script id="cellTemplate" type="text/x-jQuery-tmpl"&gt;
    &lt;tr class="gridRow"&gt;
        &lt;td class="cellTd "&gt;
            &lt;input type="checkbox" id="deleteCb" /&gt;
            &lt;input type="hidden" id="Id_ + ${num}" class="idField" value="${Id}" /&gt;
        &lt;/td&gt;
        &lt;td class="cellTd"&gt;
            &lt;input id="index" name="index" class="numberField" type="text" value="${IndexOrder}" /&gt;
        &lt;/td&gt;
        &lt;td class="cellTd"&gt;${DisplayName}&lt;/td&gt;
        &lt;td class="cellTd "&gt;${UrlName}&lt;/td&gt;
        &lt;td class="cellTd "&gt;
            &lt;input type="checkbox" id="activeCb" {{if Active}} checked{{/if}} /&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/script&gt;   

&lt;span class="instructions"&gt;Only numeric value is allowed in IndexOrder textbox.&lt;/span&gt;
&lt;div class="gridDiv"&gt;
&lt;table class="gridTable" cellspacing="0" cellpadding="0"&gt;
    &lt;tbody&gt;
        &lt;tr class="gridTitleRow"&gt;
            &lt;td class="iconLink width36"&gt;Delete&lt;/td&gt;
            &lt;td class="iconLink width60"&gt;Sort Order&lt;/td&gt;
            &lt;td class="iconLink widthAuto"&gt;Display Name&lt;/td&gt;
            &lt;td class="iconLink widthAuto"&gt;Url Name&lt;/td&gt;
            &lt;td class="iconLink widthAuto"&gt;Active&lt;/td&gt;
        &lt;/tr&gt;


    &lt;/tbody&gt;
&lt;/table&gt;
</code></pre>
