how to debug javascript in blackberry
HI I have a mobile version of a web app that doesn't work only on a blackberry. Everything works on IOS and Droids(well not exactly everything, but it is usable)
Basically, my problem is this: I can't click on any link or button. Actually there is only one link that works and it is a plain html link that leads to another page. The others im trying are buttons and links that have javascript in them to show a different partial/page
One of the results I have found is that a bb's js might be turned off. TO check, i added an alert on page load ang voila! it works..but only the alert. clicking the buttons many times wont even take me nywehere. it just ignores my clicks
How do i debug this? Is there any clue as to what my problem actually is(so i can google)? I am using the jquery mobile framework and have tested the demo using the BB so im pretty sure it was not their fault, 开发者_运维百科but rather mine
Enable Debugging/Logging
- http://www.symantec.com/business/support/index?page=content&id=TECH149375
Or using a Simulator might be the way to go
- http://us.blackberry.com/developers/resources/simulators.jsp
- http://www.blackberry.com/developers/downloads/simulators/
精彩评论