12.07.2015 Views

Ajax in Apache MyFaces - ApacheCon

Ajax in Apache MyFaces - ApacheCon

Ajax in Apache MyFaces - ApacheCon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XMLHttpRequest Object• Mozilla, Safari..– XMLHttpRequest– supports same methods and propertiesif (w<strong>in</strong>dow.XMLHttpRequest) // Mozilla, Safari{http_request = new XMLHttpRequest();}• function call after server response: (for both)http_request.onreadystatechange = function(){// do useful stuff};13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!