Define "beforesend(xhr)" paremeter of jquery ajax method?



Define "beforesend(xhr)" paremeter of jquery ajax method?..

Answer / Shruti Mishra

.beforeSend(function (xhr, settings)) is a callback function in jQuery's AJAX method that gets called before the request is sent. This function allows you to modify the JQuery XHR object and XMLHttpRequest settings object before the request is actually sent.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

Tell me is jquery a w3c standard? : jquery mobile

1 Answers  


Explain the features of jquery?

1 Answers  


What is the difference between onload() and document.ready()?

1 Answers  


How to get the direct parent of an element using ?

1 Answers  


Explain deferred and promise object in jquery? : jquery mobile

1 Answers  


Define the types of selectors in jquery?

1 Answers  


How to concatenate two strings using jquery?

1 Answers  


Can you write a jquery code to select all links inside the paragraph?

1 Answers  


How can images be made to appear scrolling one over another?

1 Answers  


What is the difference between bind() and live() function in jquery?

1 Answers  


Explain the difference between jquery-x.x.x.js and jquery.x.x.x min.js?

1 Answers  


What is the jQuery code to select all links inside the paragraph?

1 Answers  


Categories