[jQuery] Jeditable - Need help understanding how the ID's are passed
Hello all,
I am trying to update a table with the record id for a priority
selected from another table. I don't understand how the record id for
the record I am trying to update is passed.
On my PHP page named "lead-001.php" I have the following:
<script type="text/javascript">
$(document).ready(function() {
$('.select_priority').editable('/lead/lead-006.php', {
loadurl : '/lead/lead-005.php',
indicator : '<img src="/images/spinner.gif">',
type : 'select',
onblur : 'cancel',
submit : 'OK',
tooltip : 'Click to edit...'
});
});
</script>
With the field:
<div class="select_priority" id="fldPriorityID"><?php echo $priority; ?