Mobile Safari Debugging
In order to view the browser inspector for the Safari session on your iPad, go to Settings->Safari->Advanced and enable Web Inspector
Next, connect the iPad to your Mac and open Safari. Choose Develop from the menu bar and you will see the connected iPad and be able to open the console session.
On Mobile Safari, $(element).live() appears not to work. The workaround is to add the attribute ‘onclick’ to the element. Now it works.