Input closing iphone app

I used an html input text box and each time I click on the text box the app closes. Anyone else have this issue?