How to use Jquery Plugins in ASP.Net MVC validation?



How to use Jquery Plugins in ASP.Net MVC validation?..

Answer / Rahul Jassar

To use jQuery plugins for validation in ASP.NET MVC, you can include the plugin's JavaScript file and CSS file (if any) in your project, then reference them in your view. After that, you can use the plugin methods on form fields to validate user input. For example, if using the jQuery Validate plugin, you might write something like this: `$(document).ready(function () { $('#<%= YourFormID %>').validate(); });`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What filters are executed in the end?

1 Answers  


What are the different types of filters, in an asp.net mvc application?

1 Answers   NA,


im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me

2 Answers  


What is ViewData and TempData in ASP.Net MVC?

1 Answers  


What is Reference type and value type

1 Answers  


what is the use of final method

3 Answers   TCS,


mention in what all scenarios entity framework can be applicable?

1 Answers   Microsoft,


How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?

1 Answers  


What are Model Binders in ASP.Net MVC?

1 Answers  


Why to use Html.Partial in ASP.Net MVC?

1 Answers  


What is the meaning of unobtrusive javascript?

1 Answers  


what is entity graph in entity framework?

1 Answers   Microsoft,


Categories