I can do that. But I discovered it was doing something much more interesting than my original diagnosis.
The inputs in question were editable and generated by the controller. As such they had an assigned value. When I ajaxed them to the server, apparently two copies of the input were sent. One copy had the original value and the other had the edited value. If I would do something like alert($('#the_field').val()); it would alert the edited value. So the final work around was to park those values in hidden fields and send those across via ajax. Of course that doesn't answer why it was happening. And that fixed the problem. I don't know why I thought the other work around fixed it unless it was post-lunch fog. But yes, I will put up the html and the post stream later today. On Wednesday, August 6, 2014 1:55:21 PM UTC-4, Anthony wrote: > > Can you show the relevant HTML? What does the post data look like? > > On Wednesday, August 6, 2014 5:48:33 PM UTC+2, Cliff Kachinske wrote: >> >> This is not supposed to happen and I don't know why it did. >> >> The js looks like this: >> $('#products_on_order').on('click', '.edit_bound_container', function(e >> ){ >> //alert(this.id); >> var container_id = this.id.split('__')[1] >> var count_field = 'bound_container_count_edit__' + container_id >> var pounds_field = 'bound_container_quantity_packed_edit__' + >> container_id >> ajax( >> edit_bound_container_url, >> [count_field, pounds_field, 'order_id'], >> ':eval' >> ) >> }); >> >> I thought somehow I had created duplicate input names, but there were >> none that I could find. >> >> Changing the input id so that it is not identical to the input name made >> the problem go away. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.