Hello,
Why not do exactly what you say, compose all the parameters for the request
and execute whenever you want:
var url = '/foo.php';
var ajaxOptions = {
option1: foo,
option2: bar
}
// do whatever you want..
// even add something
ajaxOptions.option3 = 'bla';
// then execute
new
On 31 August 2010 15:17, Johan Arensman johanm...@gmail.com wrote:
Hello,
Why not do exactly what you say, compose all the parameters for the request
and execute whenever you want:
var url = '/foo.php';
var ajaxOptions = {
option1: foo,
option2: bar
}
// do whatever you want..
//