Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Ajax Navigation in Windows Phone 8

Ajax Navigation in Windows Phone 8

Scheduled Pinned Locked Moved Mobile
javascriptandroidiosmobilejson
2 Posts 2 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    santhosh_init
    wrote on last edited by
    #1

    Hi All, I am working on cross platform applications using Jquery Mobile (1.3.1), Jquery (1.9.1) and Phonegap (2.8.0). The application works fine on Android, iOS and Blackberry platforms. But, on the Windows platform the ajax transitions do not seem to work. Since the AJAX not loads I am unable to load the control label values from the json file. Kindly share your input if you used this. Also Windows mobile by default triggers only the failure event in $.ajax method, its not even recognizing the .done or success function. I have set globally $.support.cors to true, $.mobile.allowCrossDomainPages to true and I tried all version Jquery Mobile and Phonegap libraries but no luck . Kindly share your thoughts on this which will be very helpful for my project. Thanks, Santhosh

    H 1 Reply Last reply
    0
    • S santhosh_init

      Hi All, I am working on cross platform applications using Jquery Mobile (1.3.1), Jquery (1.9.1) and Phonegap (2.8.0). The application works fine on Android, iOS and Blackberry platforms. But, on the Windows platform the ajax transitions do not seem to work. Since the AJAX not loads I am unable to load the control label values from the json file. Kindly share your input if you used this. Also Windows mobile by default triggers only the failure event in $.ajax method, its not even recognizing the .done or success function. I have set globally $.support.cors to true, $.mobile.allowCrossDomainPages to true and I tried all version Jquery Mobile and Phonegap libraries but no luck . Kindly share your thoughts on this which will be very helpful for my project. Thanks, Santhosh

      H Offline
      H Offline
      Hadrich Mohamed
      wrote on last edited by
      #2

      Hi , Try Using Normal JAVASCRIPT: var ajax = new XMLHttpRequest(); var seconds = new Date().getTime(); // avoid cache problem var additionalParam = "" // if any var URL = "http://www.domainname.com/api/method/"; // your URL var authURL = URL+ additionalParam+'&tmp=' + seconds; ajax.open("GET", authURL + '', false); ajax.send(); if (ajax.readyState == 4 && (ajax.status == 200)) { console.log("ajax.responseText" + ajax.responseText); } Thanks.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups