On Feb 1, 8:28 pm, Pete <[EMAIL PROTECTED]> wrote: > $('a.module').click( function() { > $.post('somepage.asp', { > module: 'AP' > }, function() { > document.write(module)); > }); > return false; > > });
Hi :) you need to modify the $.post request. the callback function needs some data to work on, you pass them just like this: $.post('somepage.asp', { module: "AP" }, function(data) { var module = data; document.write(module); }); hope it helps