Thanks for the clarity Ryan!
Kyle, found the js debugger for safari and have been logging a few things, the debugger is nowhere near as comprehensive as the firebug tool but its a place to start from. Also just downloaded the nightly version of webkit (development version of safari), so that has yielded some interesting results too.
Using the compressed ajaxsearch.js in Sarafi 2.0.4 you get a simple Null Value error -line 1, on load of the page. The console add a tiny bit extra to this, it says (timer):Null Value.
When you run a search you get ’Value undefined (result of expression imgElement.getStyle) is not an object’ - line 1.
The main trouble with this is it doesn’t tell me which file is causing these errors.
Using the uncompressed AjaxSearch.js you get the same results for the first error, exactly the same, no file mentioned so when i double click it can’t open the file and highlight where the error is coming from. This is with compressed mootools, using the full undocumented mootools v1 it attributed the null value error to line 534, but no source file. The only file im using that has that many lines is mootools, changing the only null value in AjaxSearch.js to a number didnt change the error message at all.
The second error however does tell me that it’s being caused by line 170 in AjaxSearch.js
imgStyle=imgElement.getStyle('display')
The js debugger in normal safari doesnt give away much more than that, the webkit debugger is fantastic tho. The only problem is that the error doesn’t occur in Webkit at all and can’t as such be dubugged by the nice tool. Search works perfectly in webkit.