I'm appending rows to a table using the jQuery tmpl plugin. Each row corresponds to three input fields, and a 'save' link. Save links I'm detecting using:
$(".saveClick").live('click',function(){
// 1. get 3 values for the row in question (stuck here)
// 2. process values via ajax (no problems here)
// 3. create new row from template (no problems here)
});
I can do the AJAX stuff to process the values, I just don't know what's the best way to access the values?
Any advice would be swell.
Thanks
Edit:
for clarification HTML:
<table id=inputTable>
<tr>
<td>cola</td>
<td>colb</td>
<td>colc</td>
<td> </td>
</tr>
</table>
jQuery Template:
<script id="tmplAddRow" type="text/x-jquery-tmpl">
<tr>
<td><input id="inA"></td>
<td><input id="inB"></td>
<td><input id="inC"></td>
</tr>
</script>