×

Discussion Board

Results 1 to 4 of 4

Threaded View

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    3

    Synchronous xmlHttpRequest

    Hi, I'm having problems getting synchronous requests to work. Asynchronous requests works well and seems to be in all examples given (i.e. http://wiki.forum.nokia.com/index.ph...s_web_services).

    Code:
    var xhr = new XMLHttpRequest();
    xhr.open("GET", ANY_URL, false); // Note that false is synchronous
    xhr.send(null); // this is where device freezes
    alert(xhr.responseText);
    Does s60 wrt even allow synchronous requests? If not, then why is it not documented?

    Edit: Tried this out on N97.
    Last edited by strider2k; 2009-12-18 at 02:59. Reason: added device info

Similar Threads

  1. XMLHttpRequest problem
    By kogan_y in forum Symbian
    Replies: 3
    Last Post: 2009-12-18, 02:46
  2. XMLHTTPREQUEST can cache the content??? Need help
    By alicenan88 in forum Symbian
    Replies: 3
    Last Post: 2009-11-05, 12:02
  3. Make synchronous link (sco) in BT
    By Hlali in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-05-08, 15:43
  4. How to make Synchronous link(SCO) in Bluetooth
    By Hlali in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-05-01, 21:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×