jQuery mobile: How to invoke this (default) error loading page message?

后端 未结 1 1665
既然无缘
既然无缘 2021-01-03 08:55

I am building RESTful mobile app and I like the default behaviour when resource is not found. jQuery Mobile shows this:

1条回答
  •  误落风尘
    2021-01-03 09:30

    //show error message
    $( "

    YOUR MESSAGE

    " ) .css({ "display": "block", "opacity": 0.96, "top": $(window).scrollTop() + 100 }) .appendTo( $.mobile.pageContainer ) .delay( 800 ) .fadeOut( 400, function() { $( this ).remove(); });

    0 讨论(0)
提交回复
热议问题