I am trying to use the following on an Ajax success:
$('#FormContent').data('seq',data.seqMod);
However, it does not work.
When I do alert(data.seqMod);
it returns the correct value fine and the alert message has my integer in it (5) in this case.
Am I doing something wrong?
Thanks