I’m frustrated

Frustrated by "Learning JavaScript" Example 13-1

I have worked through most examples in "Learning Javascript" (despite many typos), but Example 13-1 simply does not work for me. The example uses the XMLHttpRequest method and a php script to dynamically populate an option button, but no matter what I do it returns 'Error: preSearch Failed'. This is true both for the code typed in by me on the basis of the book, and for the sample code downloaded from the O'Reilly website.

I am testing this code in Safari on a mac.
1 person has
this question
  • Hi Phillip,
    sorry for the delay in responding to you. I will forward your case over to our Book tech staff so that they may assist you with your issue.
    For any future issues with our books, you can contact them directly at:

    If you have any further questions or require further assistance,
    You can contact us at:
    1-707-827-7019 from outside the USA
    7:30 am to 5:00 PST

    Tai Hake
    Customer Service Rep,
    O'Reilly Media
  • (some HTML allowed)
    How does this make you feel?
    Add Image

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned sad, anxious, confused, frustrated