Follow Me on Twitter

Follow Me on Twitter

MyApps Blog

Mobile Framewok

SimpleDialog box using jquery mobile

HTML <p>You have entered: <span id=”dialogoutput”></span></p> <a href=”#” id=”dialoglink” data-role=”button”>Open Dialog</a> jQuery $(document).delegate(‘#simplestring’, ‘click’, function() { $(this).simpledialog({ ‘mode’ : ‘string’, ‘prompt’ : ‘What do you say?’, ‘buttons’ : { ‘OK’: { click: function () { $(‘#dialogoutput’).text($(‘#dialoglink’).attr(‘data-string’)); } }, ‘Cancel’: { click: function () { }, icon: “delete”, theme: “c” } } }) })


jQuery Mobile

Touch-Optimized Web Framework for Smartphones & Tablets A unified, HTML5-based user interface system for all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.   here is a sample page <!DOCTYPE html> <html> <head> <title>Page Title</title> […]