Make your browser as iPhone

As I am working on a web application for iPhone , I encountered this problem .
How to test my work ???

I found this wonderful add-on for firefox , cross platform ( User Agent Switcher ).
You can change your agent to iPhone , you can also add more agents .