When you run inside phonegap, your js code is launched from the file:// protocol so you can freely access website/services without cross-domain concerns.
I suspect the issues you are experiencing are because you are loading your page from localhost or something similar. You should be able to test and debug your js/html/css code using desktop safari and the developer tools as long as you load it via file:// Cheers, Jesse On Wed, Nov 3, 2010 at 7:59 PM, jun <[email protected]> wrote: > Thank you for your reply. > My goal is accessing to my webservice from iPad app which is HTML/CSS/ > Javascript on PhoneGap. > So, it is not able to put the HTML file on the server. > Actually, I succeeded in receiving the response to GET request using > jQuery(JSONP implementation). > Next step is updating the data on my webservice by PUT request.(My > webservice is RESTful.) > jQuery supports JSONP in only GET request. > So I need to use xhr. > If there are other ways to solve this issue, I want to try it. > > Thanks. > jun > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<iphonewebdev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
