Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
igDatePicker ASP.NET MVC helper border colour change using jQuery
posted

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.

Parents
  • 2355
    Verified Answer
    Offline posted

    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

    sample-date-picker.zip
Reply Children
No Data