The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JQuery Mobile in IOS Full Screen App

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #33388


    I Hope you guys can help me. Im learning JQuery/Javascript by making a little web app. the following code works fine in a browser AND in safari on IOS when not a full-screen webapp but if i add it to homescreen as an app, the page doesnt update with the records pulled in the javascript.

    All its supposed to do is generate an unordered list upon the #page being switched to.

    can anyone give me any pointers please?

    thanks in advance

    this is my javascript (main.js)

    $(document).delegate(‘#customers’, ‘pageshow’, function() {


    type: “POST”,
    url: “getCustomers.php”,
    data: “”,
    cache: false,
    dataType: “text”,
    success: onSuccess

    $(“#customerslist”).ajaxError(function(event, request, settings, exception) {
    $(“#customerslist”).html(“Error Calling: ” + settings.url + “
    HTTP Code: ” + request.status);

    function onSuccess(data) {

    var result = JSON.parse(data);

    var outputstring = “

      $.each(result.customer, function(index, value) {
      //- extract target value like zipCode
      outputstring = outputstring + “

    • ” + + “
    • “;
      outputstring = outputstring + “





    and this is my html

    INSITE touch


    My Settings

    INSITE touch

    New Job

    • My Jobs Today6
    • Booked Today1
    • Booked This Week12


    New Job

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.