form name in mvc url.action
Posted
by user281180
on Stack Overflow
See other posts from Stack Overflow
or by user281180
Published on 2010-04-28T12:32:45Z
Indexed on
2010/04/29
6:27 UTC
Read the original article
Hit count: 373
asp.net-mvc
I am having the following
<form action="<%=Url.Action("PasswordDetails",new{Controller = "User"}) %>" method="post" name="PasswordForm" id="PasswordForm" enctype="multipart/form-data">
However, the $("#PasswordForm").submit(function() {
if (validate())
return true;
else
return false;
});
isn`t being passed through.
What is wrong?
© Stack Overflow or respective owner