Find exact value with jquery or javascript?
<p>I have a table that has a hidden column that contains ids. I use the value in this column and send it to the server so I can grab the correct record.</p>

<p>I am not using datatables.net and I allow the user to update the row. So they click on an edit button and a dialog pops up and they edit it. Once they hit update I send all the values back including the id(stored in a hidden text field).</p>

<p>So I need to update the datatable and the fast way I found is use a plugin for it that allows you to take an html row and pass it to the datatable(instead of passing each column value in an array).</p>

<p>So first I need to delete the row then add the newly update row.</p>

<p>I have one problem though I don't know how to figure out which row to delete.</p>

<p>I could have some global variable that would store the row object and when it is time to delete it use that object. However I really don't want to do this as I don't want a global variable just flying around if I can help it.</p>

<p>So the hidden column with the value has a class name that I use as a slector(class ="hidden").</p>

<p>So I am wondering how could I do a search to filter down to only table cells that have this class name, has the exact value(say 55 that I can use from the hidden textbox).</p>

<p>I was thinking of using jquery contains but that might get stuff that might have that number. I want an exact match.</p>
