O'Reilly logo

Learning PHP, MySQL, and JavaScript by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test Your Knowledge: Questions

Question 19-1

What is YUI’s method of implementing an Ajax connection?

Question 19-2

Write a callback object for YUI called callback to reference a success handler called succeeded and a failure handler called failed.

Question 19-3

Write a GET call to asyncRequest that references the program getdata.php and a callback object.

Question 19-4

How can you encode the URL mysite.com/message?m=123, which contains the ? symbol, so that if sent as a GET request it will be treated just as a string and not interpreted?

See the section Chapter 19 Answers in Appendix A for the answers to these questions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required