How to customize the position of an alert box

后端 未结 2 1860
离开以前
离开以前 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/

    0 讨论(0)
  • 2020-12-06 11:25

    Jquery dialog box is the best option u get.Follow this:

    http://jqueryui.com/dialog/

    Is it possible to create a non-centered Javascript alert box?

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