jQuery Ajax error on device but works in Chrome

Hello

I make one an Ajax call for asp.net page on jQuery http://somewebserver/leap.aspx.

When I run my application of http://localhost:53754 / index.html in Google Chrome, it works fine, no errors. But when I build and install it on BB Z30 in debug mode and run it, I get error. On the device, I see errors that I see in the console of Chrome.

I do cross-domain ajax call. http://somewebserver (this is just a placeholder and one web server other than localhost) and http://localhost are 2 areas. Therefore part of the cross-dmain seems to work.

In the config.xml file, I have the following:


  test
  A sample Apache Cordova application that responds to the deviceready event.
  
  
  
  
  
  
  
  Joe
  
  

No idea what could be the problem?

Joe

Advertisement

http://somewebserver was inside the firewall. Once I used the web server that was outside the firewall. Everything works like a charm.

Tags: BlackBerry Developers

Similar Questions

  • Web site does not work in FF but works in Chrome and IE

    No idea why this map of sin does not appear in FF but works in IE and Chrome?

    https://TPWD.Texas.gov/fishboat/fish/programs/gofishing/santoniofish/satx_map.phtml

    You will notice that there a shield icon on left (globe/lock) "Site identity button" on the address bar to indicate that the mixed active content is blocked.

    There is also an error in the Web Console (Firefox/tools > Web Developer).

    Blocked active content mixed loading"http://maps.googleapis.com/maps/api/js?key=AIzaSyDfhSEgHCTbghyruX1xpH26tysiRJI78og & sensor = false' [more]

    You need to change the HTTPS URL or leave out the Protocol:

    <script type="text/javascript"
        src="//maps.googleapis.com/maps/api/js?key=AIzaSyDfhSEgHCTbghyruX1xpH26tysiRJI78og&sensor=false">
    </script>
    
  • App hangs on the device, but works well on Simulator

    Hello! Last week I had an approved app and it is already in place in the BlackBerry App World. Before being approved, he rejected once, the e-mail message noted that "when testing your app on BlackBerry Z10, I found that he was unable to throw."

    I replied stating that the app has worked very well in the Simulator and asked some tips to solve the problem. It seems that the application got reparsed as overnight has been approved.

    Today, I had the chance to test my application on a real device and I found it crashed right after the launch.

    I don't know what could be wrong with my application. I'm guessing that the reason of this problem could be something similar to this thread; but I think I'm not directly joking with the camera in my code, everything is built on Air.

    Could you point me in the right direction please?

    Thank you in advance!

    What version of the OS is the device running?

    AIR 3.5 is not supported up to 10.2, which is not available to consumers right now better I know.

    If the camera is turned on between 10.0 and 10.1, check that your application - app.xml file appeals to AIR 3.1 namespace and not the AIR 3.5 namespace.

  • Dashlane premium (the automatic password entry) does not work in firfox but works in chrome. Can anyone help?

    8.1 for Windows 64-bit version 6.3 9600 processor

    Hello
    You can also check the support for Dashline here: How can I synchronize between my devices: Dashline

    However if you also have accounts of Firefox sync, you will need to disable temporarily to test if it works at the same time. If you have a firewall, please also check to ensure that the program access Firefox etc. Of Options of Configuration for security and Configure the firewall so that Firefox can access the Internet

  • GChat no longer works on my Mozilla Firefox browser, but works on Chrome...

    I read the response from Chris Ilias another question similar to mine and we tried the solutions provided on this thread. Clear the cookies/cache, restart firefox in safe mode with disabled... modules etc. I have not been able to solve this problem and have inserted my firefox details my Clipboard below. Only other thing I can think is the removal of Firefox and re - install, but then I would lose my favorites, right?

    Info paper:

     Application Basics
    
           Name
           Firefox
    
           Version
           17.0.5
    
           User Agent
           Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0
    
           Profile Folder
    
             Show Folder
    
           Enabled Plugins
    
             about:plugins
    
           Build Configuration
    
             about:buildconfig
    
           Crash Reports
    
             about:crashes
    
           Memory Use
    
             about:memory
    
     Extensions
    
           Name
    
           Version
    
           Enabled
    
           ID
    
           Symantec Vulnerability Protection
           12.2.0.5 - 1
           true
           {BBDA0591-3099-440a-AA10-41764D9DB4DB}
    
     Important Modified Preferences
    
         Name
    
         Value
    
           browser.cache.disk.capacity
           358400
    
           browser.cache.disk.smart_size.first_run
           false
    
           browser.cache.disk.smart_size.use_old_max
           false
    
           browser.cache.disk.smart_size_cached_value
           358400
    
           browser.places.smartBookmarksVersion
           4
    
           browser.startup.homepage_override.buildID
           20130328110703
    
           browser.startup.homepage_override.mstone
           17.0.5
    
           extensions.lastAppVersion
           17.0.5
    
           gfx.direct3d.prefer_10_1
           true
    
           network.cookie.prefsMigrated
           true
    
           places.history.expiration.transient_current_max_pages
           91655
    
           privacy.sanitize.migrateFx3Prefs
           true
    
     Graphics
    
           Adapter Description
           Intel(R) HD Graphics 4000
    
           Vendor ID
           0x8086
    
           Device ID
           0x0166
    
           Adapter RAM
           Unknown
    
           Adapter Drivers
           igdumd32 igd10umd32 igd10umd32
    
           Driver Version
           8.15.10.2639
    
           Driver Date
           2-1-2012
    
           Direct2D Enabled
           true
    
           DirectWrite Enabled
           true (6.2.9200.16492)
    
           ClearType Parameters
           ClearType parameters not found
    
           WebGL Renderer
           Google Inc. -- ANGLE (Intel(R) HD Graphics 4000) -- OpenGL ES 2.0 (ANGLE 1.0.0.1242)
    
           GPU Accelerated Windows
           1/1 Direct3D 10
    
           AzureCanvasBackend
           direct2d
    
           AzureFallbackCanvasBackend
           cairo
    
           AzureContentBackend
           direct2d
    
     JavaScript
    
           Incremental GC
           1
    
     Accessibility
    
           Activated
           0
    
           Prevent Accessibility
           0
    
     Library Versions
    
           Expected minimum version
    
           Version in use
    
           NSPR
           4.9.5
           4.9.5
    
           NSS
           3.14.3.0 Basic ECC
           3.14.3.0 Basic ECC
    
           NSS Util
           3.14.3.0
           3.14.3.0
    
           NSS SSL
           3.14.3.0 Basic ECC
           3.14.3.0 Basic ECC
    
           NSS S/MIME
           3.14.3.0 Basic ECC
           3.14.3.0 Basic ECC
    

    Why you use such an old version of Firefox? Upgrade to at least 28 could solve the problem where you have heard of the Interface of Firefox 29 new and do not want to. This link will be 29.0.1, but if you want 28, it can be downloaded via the link install an older version of Firefox .

    Please try to update at least 28 Firefox before you continue troubleshooting. Symantec extensions are known to be very problematic. Please try to delete it as it is not necessary to run Norton.

    In regards to your bookmarks, no, uninstall and reinstall Firefox will not solve the issue and it will not delete your bookmarks unless you specify that you want to delete. There is a checkbox indicating "Delete my personal data" and is disabled by default.

  • Gadgets don't be loading not on the homepage igoogle with FF 7 or 8 but works on Chrome and IE

    I have Win XP and running 7 FF. Yesterday, my igoogle homepage leave loading all the gadgets, but it works fine on Chrome and IE. I checked the forums and tried all suggestions regarding extensions and add it. Today, I downloaded 8 FF, but it does not change my problem. In fact, it has not changed anything. FF looks exactly as it did with 7 FF. I've had this problem before and was able to solve it by removing all the gadgets on igoogle and then adding them again, but it does not for the moment. HELP!

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • JavaScript in my .jspx page does not work in IE 9, but works in Chrome and Mozilla why?

    Hello

    I use Oracle JDeveloper ADF 12.1.2.0.0. I was trying example ADF Insider Essentials Table column filter customization followed the steps, but made a small change to the JavaScript to filter numbers only. When tested my application in the browser Chrome and Mozilla, functionality works as expected, its only numbers to enter in the filter field.

    But the same functionality does not work in IE 9. Is something needs to be done to solve my browser.

    JavaScript below.

    function allowNumbers (evt) {}

    var _keyCode = evt.getKeyCode ();

    Other than the number keys, arrow, delete and backspace when used

    event will be cancelled.

    If (!) () (_keyCode > 37 & & _keyCode < 58) |

    (_keyCode == AdfKeyStroke.ENTER_KEY).

    (_keyCode == AdfKeyStroke.DELETE).

    (_keyCode == AdfKeyStroke.BACKSPACE_KEY).

    (_keyCode > 95 et & _keyCode < 106))) {

    evt. Cancel();

    }

    }

    This script is enabled in my IE.

  • PHP problem with IE, but works with Chrome and Safari

    In Dreamweaver CS6, I created a html and a file php for an employment application online be sent by e-mail.  The views of html file fine in Internet Explorer, but when you select the button that manages php he think for a minute then back screen application with nothing entered. The two Chrome & Safari complements the action (submission of the request by email, then displays the message 'success'). I tried to use the Adobe BrowserLab on HTML and PHP files.  No message came that something is wrong. Any suggestions?

    The files in question are displayed at www.heartprinthomecare.com/application1.html & www.heartprinthomecare.com/app.php

    Thank you in advance for any help you can provide

    Additional note: when php is running in Internet Explorer it sends an e-mail VACUUM.

    PHP is a server side, scripting language, the problem must be with the code on the client side. Your form page has several validation errors:

    http://validator.w3.org/check?verbose=1&URI=http%3A%2f%2Fwww.heartprinthomecare.com%2Fappl ication1.html

    Most of this is probably due to your doctype does not match your markup. You must fix this.

    But I think the problem is that you use the culture attribute in the submit button that is only supported in HTML5.  Rather than use the two buttons, set the action in the form tag and give the visitor an option button to choose the location. Then have your script appropriate action based on the selected radio button.

  • Cannot use Apple pay/Safari but works in Chrome

    Can someone tell me where to re - activate cellular connections for applications? I have to have pay past Apple and Safari to use Wifi only

    Settings-> cellular, do scroll down list Apps and turn on the ones you want to be able to use the cell data.

  • Error "USB device not recognized", but nothing is plugged in and my webcam is not working. It says webcam not connected

    Error "USB device not recognized", but nothing is plugged in and my webcam is not working. It says webcam not connected

    Hello

    Since you said it worked very well recently, I'll try to do a system restore at this point in time.

    See this link: http://windows.microsoft.com/en-us/windows7/products/features/system-restore?SignedIn=1

    In addition, see the response of the Meghmala and follow the instructions listed there. I think that the three method might be the best of the bunch for you, but they have all the right steps.

    See this thread: http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/usb-device-not-recognized-in-windows-7/8106a712-a13e-4ca5-b82e-c3961cc254b1

  • my camera does not work. Device Manager reports "found driver software for your device, but has encountered an error trying to install Windows" I have Thinkpad E420 Laptap. Syed

    Built-in camera does not work on my laptop Lenovo Thinkpad E420. Device Manager reports "found driver software for your device, but has encountered an error trying to install Windows" I have windows 8 Windows 7 upgrade.

    Appreciate your help. Thank you.

    Syed

    Hi Syed,

    Thanks for the reply with the status of the issue.

    I suggest you try to install the drivers for Windows 7 in compatibility mode and check if it works for you. I saw this troubleshooting procedure described working for other members of the community.

    Step 1: Download the driver for the Webcam from this link of Lenovo.

    http://support.Lenovo.com/en_US/downloads/detail.page?docid=DS015018

    Step 2: Installing the driver in compatibility mode.

    Make the programs more compatible with this version of Windows:

    http://Windows.Microsoft.com/en-us/Windows-8/older-programs-compatible-version-Windows

    Please reply with the status of the issue, so that we can confirm that the issue is resolved.

  • Windows found driver software for your device but encountered an error trying to install it. The system cannot find the specified file.

    Original title: Windows encountered a problem installing the software driver for your device...

    Arrrrgh!  Had a terrible time trying to get the scanner function works on my Epson Stylus CX7000F.

    I get the too common but seemingly irreparable "Windows has encountered a problem installing the software driver for your device...". Windows found driver software for your device but encountered an error trying to intall it. The system cannot find the file specified. "

    The job of printer/copier/fax end but not go on the scanner.

    I tried the 'fixes' to epson.com repeatedly with no luck.  This includes their reccomendation uninstall/install several times, trying even to this process in safe mode and clean boot the.

    I ran the program to 'fix' Microsoft ATS with no luck.  It has detected the error and said that the problem has been resolved, but guess what?  No, it isn't.

    I clicked on install update driver/driver from Device Manager.

    I tried the work around, eliminating the "LowerFilters" of the registry.  Guess what?  You have it, no luck.

    So, before I go and buy a new printer/scanner, with no guarantee that they will work.  Does anyone have another suggestion?

    I am running Vista, 32-bit.

    You can also try and replace or install the ntprint.inf file.

    I had a similar problem on a Windows 7 PC and noticed that this file was not present.  I just copied the file from a different PC Win7.  The printer, I tried to install was a Brother MFC-J410w.

    The file can be found here C:\Windows\inf

    Hope this helps someone.

  • Windows found the driver for your device, but encounter an error when trying to install

    I have no ideal, what caused this problem because I am very sure that it was working again fine until I went to bed, but I woke up the next day, realize that my internet was completely cut off. I tried to update my network device but it doen't seem to be of any help.

    I hope that someone capable of seccond me with some light as what the case of the latter and the resolution.

    Thanks in advance. :)

    -Brian

    Hi Brian,.

    You can follow the steps described in the article below

    You receive an error message if you try to install a USB device on a Windows Vista computer that has been upgraded from Windows XP

    http://support.Microsoft.com/kb/940267

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.
    How to back up and restore the registry in Windows

  • Error "Windows has encountered a problem installing the software driver for your device." Windows found driver software for your device but encountered an error trying to install it.

    So I got a wireless mouse for my first time and it won't even install on my computer. It isn't the mouse because I tried other wireless mice and none of them work. In my device under other devices Manager there are only 2 USB receivers listed with question marks next to them. It is said that they can not find the drivers for the device. Then under my HIDDEN I tried to update the HID-compliant device and the USB input device, nor able to update. This is the message I get.  Windows encountered a problem installing the software driver for your device. Windows found driver software for your device but encountered an error trying to install it. Peripheral HID-compliant, the system cannot find the specified file. I already contacted EVGA about the issue, because there is where I got my motherboard, but they said to contact Microsoft and I didn't really want to pay 50 dollars to send them an email. That's all just ridiculous.

    Well, I found the solution, just in case anyone has the same problem.  Apparently some day caused Wireless does not work on several computers. So you go into Manager for all of these research and device drivers manually. Then, you look for in C/windows/winsxs. Then the wireless mouse/keyboard should work.

  • How to use a USB microphone with voice dictation on MacBook Air?  Machine recognizes the USB device, but the microphone does not work.

    How to turn on a microphone USB bluetooth with voice dictation (Dragon for MAC) on the MacBook Air?  Machine recognizes the USB device, but the microphone does not work.   I don't see no response.   I use OS X 10.10.

    Version OS X?

Maybe you are looking for