<script type="text/javascript">
$(function () {
////////// FrmSchedule from id
$('#FrmSchedule').submit(function () {
if ($(this).valid()) {
$.ajax({
url: this.action,
type: this.method,
data: $(this).serialize(),
success: function (result) {
$('#loadControlID').html(result);
}
});
}
return false;
});
});
No comments:
Post a Comment