[jQuery] Re: Doing something before the get request

2009-07-16 Thread Fabio Milheiro
It's done! You were very helpful. Thank you James On Jul 15, 7:06 pm, James wrote: > You can find the information on jQuery's documentation website. Here's > the AJAX page:http://docs.jquery.com/Ajax > > Click on the jQuery.ajax(options) link and then the options tab to > view available options

[jQuery] Re: Doing something before the get request

2009-07-15 Thread James
You can find the information on jQuery's documentation website. Here's the AJAX page: http://docs.jquery.com/Ajax Click on the jQuery.ajax(options) link and then the options tab to view available options you can set. On Jul 15, 4:10 am, Fabio Milheiro wrote: > Thank you, but can I insert the pa

[jQuery] Re: Doing something before the get request

2009-07-15 Thread Fabio Milheiro
Thank you, but can I insert the parameters. I couldn't find that information anywhere else. Could you please tell me or indicate where I can see that. Regards On Jul 15, 3:16 am, James wrote: > $.ajax({ >     url: 'file.html', >     type: 'get', >     beforeSend: function() { >         // add

[jQuery] Re: Doing something before the get request

2009-07-14 Thread James
$.ajax({ url: 'file.html', type: 'get', beforeSend: function() { // add loading image }, success: function(data) { ("#msg").html(data); }, error: function() { alert('something bad happened...'); } }); On Jul 14, 11:05 am, Fabio Milheiro wro