开发者

blackberry jquery ajax on asp net page

开发者 https://www.devze.com 2023-04-11 13:37 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号