Ajax Interview Question Answer
1 - What is Ajax?

Ajax is a technique for creating fast application without reloading page.Ajax is not programming langugage like php,C, C++ etc. Ajax was introduced by google in 2005, Full of Ajax is Asynchronous JavaScript And XML.

2 - Advantage of Ajax.

There is no need to buy extra software.
Whole page will not refresh only part of the page is refresh
We can access database from server without reloading page.
This is looking like desktop application.
Waiting time more reduced

3 - Disadvantage of Ajax.

If JavaScript is not activated on your browser then Ajax can not works.
Anyone can view source code that is written for Ajax.
Ajax integration with every browser is not good.
Ajax code is complex that is more difficult to web developers.
Ajax application does not index on search engines like google,yahoo etc.
Data is URL-encoded so that that increased request.

4 - What are the different type of state in Ajax.

0 means request not initialized
1 means server connection established
2 means request received
3 means processing request
4 means request finished and response is ready

5 - Synchronous and Asynchronous Ajax requests hindi

In A Synchronous whole page is refresh, client wait till the operation completes. there is no gap between data. data communicate server continuously

An Asynchronous part of the page is refresh, client browser not block, client can peform another operation. data will sent packetwise, we use Ajax engine to communicates with the server


Next

Share on Facebook
Success Story
Anoop kumar Gupta
Avatar
PHP Programmer
IT&DC
One of my friends suggested me to undertake Joomla training in IT & DC. It is one of the best institutions in Delhi, where I have undertaken the course of Joomla. Now, I am an expert in Joomla training. I run my own business now, and I am successfully making my clients happy.
Manikant kumar
Avatar
PHP Developer
Fourtek IT Solution PVT LTD
The regular knowledge at IT Training Online gave me the confidence to approach the best companies and I found the position in the corporate world I had been trying to get for a long time. The work that I do now satisfies me and gives me inspiration to perform better. I got this strength from IT Training Online when I was put under training in PHP and web development at the institute.
Sponsored Ads