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 <fabiomilhe...@gmail.com> wrote: > 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 <james.gp....@gmail.com> wrote: > > > $.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 <fabiomilhe...@gmail.com> wrote: > > > > This example is not clear enough (at least for > > > me..)http://docs.jquery.com/Ajax/ajaxSend > > > > I want something simple such as the user clicking and a "waiting.gif" > > > image is presented in order to let the user know that the server is > > > working on it. > > > > $.get("file.html", > > > function(data){ > > > $("#msg").html(data); > > > }); > > > > How do I get the ajaxSend to work with the above code (above code is > > > working). > > > > Thank you > >