KyaPoocha.com

Huge Collection of Interview Questions


‘AJAX Interview Questions’ - KyaPoocha.com

Is Ajax just another name for XMLHttpRequest? 

No. XMLHttpRequest is only part of the Ajax equation. XMLHttpRequest is the technical component that makes the asynchronous server communication possible; Ajax is... Read more »

Is the server or the client in control? 

It depends. With AJAX the answer is more in between. Control can be more centralized in a server-side component or as a mix of client-side and server-side controllers. *... Read more »

What Browsers does HTML_AJAX work with? 

As of 0.3.0, all the examples that ship with HTML_AJAX have been verified to work with * Firefox 1.0+ * Internet Explorer 5.5+ (5.0 should work but it hasn’t... Read more »

What parts of the HTML_AJAX API are stable? 

We don’t have a list right now, but most of the API is stable as of 0.3.0. There should be no major changes at this point, though there will be lots of new... Read more »

When will HTML_AJAX have a stable release? 

Once all the major features are complete and the API has been tested, the roadmap gives an idea of whats left to be done.  Read more »

What exactly is the W3C DOM? 

The W3C Document Object Model (DOM) is defined by the W3C as the following: The Document Object Model is a platform- and language-neutral interface…  Read more »

How do I test my AJAX code? 

There is a port of JUnit for client-side JavaScript called JsUnit  Read more »

How do I submit a form or a part of a form without a page refresh? 

When creating a form make sure that the “form” element “onSubmit” attribute is set to a JavaScript function that returns false. You can... Read more »

Whats with the -alpha in the install instructions? 

HTML_AJAX hasn’t had a stable release yet and the pear installer doesn’t install non stable packages by default unless you specify a version.  Read more »

What do I do on the server to interact with an AJAX client? 

The “Content-Type” header needs to be set to”text/xml”. In servlets this may be done using the HttpServletResponse.setContentType()should... Read more »

How do I handle concurrent AJAX requests? 

With JavaScript you can have more than one AJAX request processing at a single time. In order to insure the proper post processing of code it is recommended that... Read more »

Are Ajax applications easier to develop than traditional web applications? 

Not necessarily. Ajax applications inevitably involve running complex JavaScript code on the client. Making that complex code efficient and bug-free is not a task... Read more »

How do I provide internationalized AJAX interactions? 

Just because you are using XML does not mean you can properly send and receive localized content using AJAX requests. To provide internationalized AJAX components... Read more »

How do I debug JavaScript? 

There are not that many tools out there that will support both client-side and server-side debugging. I am certain this will change as AJAX applications proliferate.... Read more »

Should I use an HTTP GET or POST for my AJAX calls? 

AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL. An HTTP POST should be used when state... Read more »

Page 2 of 7«12345»...Last »