Hello,
I have a question regarding the igDatePicker ASP.NET MVC helper. I would like to ask how to change the border colour when the submit button is clicked using jQuery. I looked at the ui.igEditor documentation but couldn’t find the necessary information.
Thank you in advance.
Thank you for your reply!
I managed to do it on my own. I had problem doing it because I am using another way to validate the DatePicker control instead of the validation provided
Best regards,
Yordanka Toteva
Hi Yordanka,
Thank you for posting in our forums! You can create your own class that adds new color to the borders and then apply it when you click the button. I prepared a sample page to demonstrate the approach. There I use jQuery's toggleClass method to add and remove my custom class from date picker’s container. You can use addClass too. Also if you need to change any of the styles of the control you can find all of the default classes here.
I hope this helps!
Kind regards, Petko Zhekov Software Developer