function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nil_von_9wonil_von_9wo 

Problem with Force.com Cookbook: Chapter 3: SOSL in JavaScript doesn’t work

Currently working my way through the cookbook... I've entered the HTML code starting on page 107... however, when I render the page in my browser, it is blank.

Most of my browsers (Chrome, Safari, Firefox, Flock), don't even hint at an error, but IE7 (which is normally problematic with SalesForce anyway) gives this error:

Line: 605
Char: 9
Error: The system cannot locate the resource specified.
Code: 0
URL: file:///D:/temp/Hunt_for_Phil2.html


.... Note that the code in the book is only 33 lines long!

Assuming that the error is actually in "/soap/ajax/10.0/connection.js", I looked at line 605, but this line states:



if (async && typeof(timeout) !== "undefined") {
this.setTimeoutOn(holder, timeout);
}






I don't see anything problematic here... and if I did, how could I fix this, since this is SalesForce own's script?

-Brian.