Start learning 50% faster. Sign in now
Get Started with ixamBee
Start learning 50% faster. Sign in nowIn AJAX, setting the async property to true allows JavaScript code to execute without waiting for the response from the server, enabling asynchronous communication. This approach prevents the browser from "blocking" or pausing the script's execution, thus improving user experience by allowing other interactions to continue while waiting for the server's response. By default, most AJAX requests are asynchronous (async = true), making web applications more responsive and efficient. Asynchronous operations are critical for modern web development, especially in single-page applications (SPAs), where responsiveness is key. If async were set to false, the browser would behave synchronously, waiting for the server’s response before executing subsequent code, which can lead to significant delays in user experience, especially with slow network connections. Option A (method) - This property specifies the HTTP method (e.g., GET, POST) used in the request, not the asynchronous behavior. Option B (readyState) - This property holds the current state of the XMLHttpRequest but does not control whether the request is asynchronous. Option D (status) - The status property represents the HTTP status code of the server’s response (like 200 for success), not the asynchronous nature of the request. Option E (responseText) - responseText holds the data returned from the server but does not control whether the request waits for the response.
A man deposited 25% of his salary to a bank which offers compound interest at the rate of 10% p.a. If the interest earned by him from the bank after 2 y...
Akshay invested Rs. 1050 in two schemes P and Q in the respective ratio of 5:2. Scheme P and Q are offering simple interest at the rate of 8% per annum ...
Bittu, Tittu and Mitthu invested Rs. 80000, Rs. 100000 and Rs. 120000 respectively to start a business. Partnership condition is that, each will get int...
Ravi invests Rs. 2,000 on simple interest at 'a%' p.a. for 4 years and earned an interest of Rs. 800. His friend Vinay invests Rs. 4,800 on simple inter...
Some amount out of Rs. 12000 was lent out at 10% per annum and the rest amount @ 16% per annum and thus in 5 years the total interest from both the amou...
A sum of Rs. 6120 is invested at simple interest for 2 years. If the rate interest for first year is 15% p.a. while 25% p.a. for second year, then find ...
Calculate the difference between the simple interest and compound interest accrued on an amount of Rs. 1600 over a period of 2 years at an annual intere...
A certain sum of money becomes Rs. 1500 in 1 year and 2800 in 3 years at certain rate of simple interest. Find the sum of money invested.
The certain sum amounts to Rs 9,982.50 in 2(1/2) years at 12% p.a., interest compounded 10-monthly. The sum (in Rs) is: