In a recent previous post (
here
) I wanted to know how to update an "input" field using jQuery
by first finding it in the row that was dragged and dropped into place -
so that the sequence was recorded properly.
I thought I could than hit Submit and $_post the information to the
database as normal. However, I found that I could not. In fact the
"LAST" item I moved never recorded the information and I had
two records with the exact same sequence.
I tried it moving it to the first position, to a position somewhere in
the middle, or at the end. In every case it acted as though the value
was never stored.
My question (based on this
JSFiddle
) is how do I make sure all the values I input with
(":input").val(count) where count is the sequential counter
are actually available in the DOM for the HTML submit function will
$_post the newest values instead of the old value?
Can you help me?
Thanks in Advance.