this my mvc model class:-
[RequiredIf("chkLimits", true, ErrorMessage = "rLimitValue»Limit value is required.")]
[RegularExpression(@"^([0-9]*)$", ErrorMessage = "Limit value must be a number.")]
public short? Limits { get; set; }
this is my mvc view buttons.
<a href="#" class="btn btn32 black32 fleft" onclick="return StudioCoversRequestsCreateGoal.OnbtnBackStepCreateGoalkClick(this)">Back</a>
<a href="#" class="btn btn32 blue32 fright" id="btnCancelCreateGoal" onclick="return StudioCoversRequestsCreateGoal.OnbtnCancelCreateGoalClick(this)">Cancel</a>
and this is my jquery function:-
OnbtnBackStepCreateGoalkClick: function (el) {
& ...
Go to the complete details ...