Alert user when they hit the browser back button - with good reason

前端 未结 2 2015
北荒
北荒 2021-02-20 18:04

I know this borders on the taboo here, and please don\'t reply with \"you should never do this\", etc.

I have a very long form in a wizard, and some users are too used t

2条回答
  •  旧时难觅i
    2021-02-20 18:50

    You can use the jQuery BBQ plugin to rewrite the functionality of the next/previous buttons to make it more seemless transitioning throughout this "wizard"

    http://benalman.com/projects/jquery-bbq-plugin/

    Though it is a bit complex to setup, take a look at the examples provided if you're looking for the same functionality.

    Chances are you'll probably have to refactor your code to accommodate, and it will take hours.

提交回复
热议问题