jquery Tablesorter - sort field by <input value="value">
<p>I want to sort my 4th and 5th field by the information on my INPUT attr VALUE</p>

<p>This is my html:</p>

<pre><code>&lt;table class=tablesorter width="764" border=1 cellpadding=0 cellspacing=0 id="objective3"&gt;
    &lt;thead&gt;
    &lt;tr&gt;
      &lt;th bgcolor="#396FAE" class="divtopheader1"&gt;Strategy&lt;/th&gt;
      &lt;th bgcolor="#396FAE" class="divtopheader1"&gt;Objective&lt;/th&gt;
      &lt;th bgcolor="#396FAE" class="divtopheader1"&gt;Status&lt;/th&gt;
      &lt;th bgcolor="#396FAE" class="divtopheader1"&gt;Target Date&lt;/th&gt;
      &lt;th bgcolor="#396FAE" class="divtopheader1"&gt;Target&lt;/th&gt;
      &lt;th bgcolor="#396FAE" class="divtopheader1"&gt;Actual&lt;/th&gt;
      &lt;th bgcolor="#396FAE" class="divtopheader1"&gt;Cumulative&lt;/th&gt;
    &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td align="left" valign="top" class="tvertheadersm"&gt;Conservation&lt;/td&gt;
      &lt;td width="27%" class="tvertheadersm"&gt;statutory authority.&lt;/td&gt;
      &lt;td width="8%" align="center" valign="middle" class="tbody2"&gt;
          &lt;input type=hidden value="1"&gt;
           &lt;thewordIMGshouldgohere src="images/1" alt="Objective met" width=30 height=40 /&gt;
      &lt;/td&gt;
      &lt;td width="11%" align=center class="tbody2"&gt;
          &lt;input type=hidden value="092010"&gt;September&lt;br&gt;2010&lt;/td&gt;
          &lt;td align=center class="tbody2"&gt;14 agencies&lt;/td&gt;
      &lt;td align=center class="tbody2"&gt;14 agencies&lt;/td&gt;
      &lt;td align=center class="tbody2"&gt;0 agencies&lt;/td&gt;
    &lt;/tr&gt;
</code></pre>

<p>This is my jquery, here I am trying only for the 5th field but is not working:</p>

<pre><code>$(document).ready(function() {
    // add parser through the tablesorter addParser method
    $.tablesorter.addParser({
        // set a unique id
        id: 'input',
        is: function(s) {
            // return false so this parser is not auto detected
            return false;
        },
        format: function(s) {
            // format your data for normalization
            return $("td input",$(s)).attr("value");
        },
        // set type, either numeric or text
        type: 'numeric'
    });

    $("table").tablesorter({
        // pass the headers argument and assing a object
        headers: {
            // assign the secound column (we start counting zero)
            5: {
                sorter:'input'
            }
        }
    });
});
</code></pre>

<p>Any help is welcome!!!</p>

<p>Happy Holidays  :-)</p>

<p>Néstor</p>
