Custom rails confirm box (with $.rails.confirm override)

前端 未结 4 1793
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 15:57

I\'ve been tinkering with this for a long long time.

I would like to hijack the default JS confirm dialog with something I rolled myself. I\'d like to use a completely c

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-05 16:34

    Here's a working demo for changing confirmation box in Rails: http://rors.org/demos/custom-confirm-in-rails

    Examples for Boostrap, jQueryUI and Noty are provided.

提交回复
热议问题