Web development with Jquery viewed via Ipad.

Kosmik

Honorary Master
Joined
Sep 21, 2007
Messages
31,099
Reaction score
11,589
Location
In the valley
Hi Guys,

Has anyone had any experiance with this? I develop asp.net webpages for our company and one of our key players has decided to get himself an ipad. Now he's managed to connect via vpn to our enterprise but is having all kinds of issues with our websites, most noticably the ajax postbacks. To help with something that he specifically wanted to see, I re-wrote a page that used basic controls ( cascading dropdowns, listbox , labels and textboxes ) with the origional population being done via page load but all ajax calls are done using jquery, thus bypasing the whole microsoft ajax engine. The thing is , the page works fine in IE, Firefox but still fails in safari and ipad. Does anyone have any ideas? It's almost like the traffic is lost during postback calls. This is also working on integrated authentication ( AD authentication ).

Can anyone point me maybe to a javascript debugger for safari?
 
hi
im using jquery mobile for our pad development, even though it's still in beta
and I use chrome to debug
you can write to the console with commands like console.log() and console.dir()

http://jquerymobile.com/
 
Stupid question.. Have you tried to use chrome or safari on windows? since they use most of the same underlying code as mobile safari/same engine, you might be able to use them to figure out where your problem is. Both of them have an excellent debugger that can pinpoint the issues.
 
Stupid question.. Have you tried to use chrome or safari on windows? since they use most of the same underlying code as mobile safari/same engine, you might be able to use them to figure out where your problem is. Both of them have an excellent debugger that can pinpoint the issues.

TBH, I'm really new to the safari browser, I have it installed but no idea where the debugger is if there is one, can you point out?

Thanx for the jquery mobile link, I'll have a look but I assumed the standard jquery library would work fine? The irratating thing is the page works fine on blackberry browsers which are webkit based.
 
Hi Guys,

Has anyone had any experiance with this? I develop asp.net webpages for our company and one of our key players has decided to get himself an ipad. Now he's managed to connect via vpn to our enterprise but is having all kinds of issues with our websites, most noticably the ajax postbacks. To help with something that he specifically wanted to see, I re-wrote a page that used basic controls ( cascading dropdowns, listbox , labels and textboxes ) with the origional population being done via page load but all ajax calls are done using jquery, thus bypasing the whole microsoft ajax engine. The thing is , the page works fine in IE, Firefox but still fails in safari and ipad. Does anyone have any ideas? It's almost like the traffic is lost during postback calls. This is also working on integrated authentication ( AD authentication ).

Can anyone point me maybe to a javascript debugger for safari?

I absolutely hate safari I have a issue now as well where safari greys out a upload box and now I have to switch to ajax most likely, css is a complete night mare as well, I have never compared a browser with IE 9 but at least IE 9 works (well thats to say sort off)
 
Just use Chrome on Windows - it and Safari share the same rendering engine, Webkit.
 
TBH, I'm really new to the safari browser, I have it installed but no idea where the debugger is if there is one, can you point out?

Thanx for the jquery mobile link, I'll have a look but I assumed the standard jquery library would work fine? The irratating thing is the page works fine on blackberry browsers which are webkit based.

a. jquerymobile is built on jquery, you'll include the jquery js as well
b. if you do not know how to debug in safari/chrome, google it...
 
Last edited:
Hmmm, alright, I got firebug-lite installed in safari and running.

Now if I monitor the ajax call, I can see that I'm receiving a 500 error with the webmethod claiming that a parameter has not been specified when the method is called. However if I use the same browser and pont it to my localhost instance of the site, the page call succeeds perfectly fine everytime. According to the console, the JSON post is the same for both. Another strange behaviour is that quite often when a call fails, the next call for the same event will succeed, with the following failing again.

Could there be an IIS setting I'm missing? Or possibly an issue with the authentication which I suspected but then I would assume IIS to return a 401 message.

Win2008R2 server btw.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X