BigSnowBall.com

Because Snowball Was Taken

web application

I have a web application built with jQuery Mobile that has an options page. The data is loaded for the options page in the pageshow event.

Ex.

  $(document).delegate("#options", "pageshow", function(event, ui) {
      $.restRequest({
        url : 'services/options/view',
        data : $.getOptionsForAjax("")
      }).done(function(response, textStatus, jqXHR, success) {
        if (success) {
 
          $("#motd").val(response.data.motd);
          $("#dueDate").val(response.data.dueDate);
 
        }
      });
  });