How to add ID property to Html.BeginForm() in asp.net mvc?
Posted
by Pandiya Chendur
on Stack Overflow
See other posts from Stack Overflow
or by Pandiya Chendur
Published on 2010-05-18T04:44:49Z
Indexed on
2010/05/18
4:50 UTC
Read the original article
Hit count: 517
I want to validate my form using jquery but it doesn't have an ID
property as of now how to add it to the form in asp.net mvc? I am using this...
<% using (Html.BeginForm()) {%>
and my jquery validator plugin takes this,
var validator = $("#signupform").validate({
Now i want to give id as signupform
... Any suggestion...
© Stack Overflow or respective owner