Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
194
rated 0 times [  198] [ 4]  / answers: 1 / hits: 51306  / 11 Years ago, tue, september 24, 2013, 12:00:00

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 default, an alert box pops up in center of page,
Now I want it at some custom position,
for example I have 4 textbox to be validated, textbox-3 has some incorrect data,
I want the alert to be presented just above the textbox-3 instead of center of page.



Is this possible to change the display behavior of alert box?
If there's no other option to go for jquery dialog box.


More From » jquery

 Answers
14

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/


[#75473] Monday, September 23, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anitamaeg

Total Points: 466
Total Questions: 106
Total Answers: 106

Location: Suriname
Member since Sun, Jun 13, 2021
3 Years ago
;