Giter VIP home page Giter VIP logo

Comments (2)

mrbhandari avatar mrbhandari commented on July 23, 2024

Sorry meant to add if you go to textAjax.html and then testAjax1.html ... the DefaultRouter is not called and the page is not found

from jquerymobile-router.

azicchetti avatar azicchetti commented on July 23, 2024

Hi @mrbhandari,
the default handler doesn't get called when you reference a non-existing page.
In that case jQM will handle the error displaying the classic "error loading page" overlay.

However, default handlers are called when you go to an existing page that isn't matched by any route.

If you want to see an example of this behavior:

    * create a __subTestAjax2.html page
    * add a link to the the newly created page in testAjax.html
    * click on the link

The default handler will get called 'cause __subTestAjax2.html is not matched by anything.

from jquerymobile-router.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.