我學習jQuery驗證從>>http://bassistance.de/jquery-plugins/jquery-plugin-validation/。我設置自定義消息內嵌HTML,這樣自定義消息通過HTML jquery驗證沒有顯示
<input name="pelatihan_performance" type="radio" value="1" required />
<input name="pelatihan_performance" type="radio" value="2" />
<input name="pelatihan_performance" type="radio" value="3" />
<input name="pelatihan_performance" type="radio" value="4" />
<input name="pelatihan_performance" type="radio" value="5" />
// error handler
<label for="pelatihan_performance" class="error">Harap pilih Kinerja</label>
但是當我運行這段代碼,錯誤只顯示「這是必須填寫」不「Harap pilih Kinerja」。如何解決它?
嘗試'' – 2014-09-01 03:51:45
oh謝謝您:) – 2014-09-01 03:57:39