haven't tested it, bu I guess the this variable is the problem in
your callback
$(#date_+$(this).attr(id)).html(Done!);
try:
var el = $(this);
$.post(includes/updateleverans.php,{id:el.attr(id), date:date},
function (data) {
$(#date_+el.attr(id)).html(Done!);
});
by(e)
Stephan
and also $(#date_+$(this).attr(id)).html(Updating..); works
fine!
On 24 Jan, 16:39, Althalos ca...@ekdahlproduction.com wrote:
Hello, I have a callback function belonging to a $.post that won't
work. Anyone know why? This is my function:
function(date) {
2 matches
Mail list logo