Please excuse this is a dumb question as I am new to AJAX.
I have a form that is dynamically generated by PHP according to data from a mysql query
I can get the value but what I also need to know, is how to get the name or id of a form field (i.e. num[$id]
)
<input type='text' name='num[$id]' id='num[$id]' value='0' onchange = 'getAmt(this.value)'/>