Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Thursday February 08, 2007
03:55 PM

Mobile AJAX

[ #32356 ]

I've just been informed that I'm to start porting an existing AJAX library over to run on mobile browsers. Oooooh arrrrgh. I envision much pain in my future.

Added later, it turns out I misunderstood what I was asked to do. It's nothing would have called "Mobile AJAX." Still, most of my test suite runs on my Samsung phone.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • That sounds like fun.

    BTW in case XMLHttpRequest doesn't work at all, I found an alternative that's just as good: creating a script element at runtime, which will get loaded as soon as you insert it into the HTML, as described here [hunlock.com].

    I found that the onload event works in Firefox but not in MSIE, so that approach is iffy... but a good alternative is have the script returned by the server call a function in your page, either at the end, or with the returned data as a parameter:

    #!/usr/local/bin/perl
    print "Con