blackberry jquery ajax on asp net page
New to Mobile programming.
I'm developing a web site for mobile devices. I'm testing on emulators, and suddenly discovered that jquery ajax is not working on BlackBerry 9000 simulator with MDS.
At the beggining I thought it was "application/json" response type was the problem, but then I saw that even when I return html, it get displayed in a totally new window in the device. I tested $.support.ajax and it returns tr开发者_StackOverflow中文版ue.
For me, it is ok if it does not support ajax, as long as I can detect it in the server and decide if I should return a simple json response or the full asp net page again
Is there a way to detect this???
Thanks in advance.
I recommend using jQuery Mobile, it handles all those details for you.
精彩评论