How to customize the position of an alert box

后端 未结 2 1859
离开以前
离开以前 2020-12-06 10:57

I am using an alert box to alert some messages after some validation. Now I want to make alert box position over the control where it had a validation error.

As a d

2条回答
  •  爱一瞬间的悲伤
    2020-12-06 11:10

    Since that is a default dialog box, you cannot position that. However, you can design your own custom alert box and position that. Or, you can use 3rd party dialog boxes, jquery ui has a nice one: http://jqueryui.com/dialog/

提交回复
热议问题