Firebug style inspect element on iPhone?
They all say this is a remote debugger: http://people.apache.org/~pmuellr/weinre/

From docs:


  weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone.


EDIT: Here are more details and step-by-step instructions: http://envyandroid.com/archives/483/easily-debug-mobile-websites-with-weinre