Azureはじめました

Windows Azureで業務システムを組んでみる日記

2015-03-13から1日間の記事一覧

jquery.validate(unobsolusive)でエラーになったタブを開く

エラーになってもタブを勝手に開いてくれないのかよ(´・ω・`) $("#reserveeditform").submit(function () { $elem = $(".input-validation-error:first"); $elem.parents().filter(".collapse").collapse("show"); //tab上にある if ($elem.parents().filte…

jquery.validate.unobtrusiveでタブなどに隠れたフィールドの評価がされない

なんてこった。 In the new version of jQuery validation plugin 1.9 by default validation of hidden fields ignored. I'm using CKEditor for textarea input field and it hides the field and replace it with iframe. The field is there, but valida…

jquery.validate.unobtrusive でクライアントサイドで動的に追加したフィールドをチェック

i am using jquery's unobtrusive validation plugin in with asp.net mvc. the problem is that all the fields that are rendered server side gets validated with this scheme but if i dynamically add a field in the form using javascript it is not…