I am writing an ASP.NET MVC app. I am at the client side validation part. I found that when the UI flashes an error, it uses the class .input-validation-error.
What do I have to do in order to successfully make this class the same as what the jQuery UI uses for Alert CSS.
If you go to http://jqueryui.com/themeroller/ and look at the lower right you’ll see an Alert box. What is the correct way to use this styling for my input validation error class?
I am very new to MVC so am not sure how to go about this
What I would do is put that line of code in partial view and pass the message or view model to that partial view.
If you have imported the JQuery classes correctly, it should display the way it does on themeroller page.