asp.net mvc - form name in mvc url.action -


i having following <form action="<%=url.action("passworddetails",new{controller = "user"}) %>" method="post" name="passwordform" id="passwordform" enctype="multipart/form-data">

however, $("#passwordform").submit(function() { if (validate()) return true; else return false; }); isn`t being passed through.

what wrong?

<% using (html.beginform("passworddetails", "user", formmethod.post, new { id = "passwordform" }))    { %> 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -