0
A
回答
1
你可以使用errorPlacement
方法:
$("#myform").validate({
errorPlacement: function(error, element) {
error.appendTo(element.parent("td").next("td"));
}
});
相關問題
- 1. 驗證使用jquery
- 2. 驗證使用jQuery
- 3. 驗證使用jQuery
- 4. 驗證使用JQuery
- 5. jQuery驗證addMethod使用JQuery驗證驗證定製方法
- 6. 使用jQuery Labelify + jQuery驗證
- 7. 使用jQuery驗證的日期驗證
- 8. 如何使用jQuery驗證驗證recaptcha_tag?
- 9. 使用jquery驗證驗證captcha
- 10. 條件驗證使用jquery驗證
- 11. 使用jQuery驗證字段驗證組
- 12. jQuery:使用驗證查詢
- 13. 使用tinyMCE驗證textarea - jquery
- 14. JavaScript驗證使用jQuery
- 15. 驗證碼使用jQuery
- 16. 使用Jquery驗證時間
- 17. 使用jquery驗證字段
- 18. 使用jquery的textfield驗證
- 19. 使用javascript或jquery驗證
- 20. Google recaptcha使用Jquery驗證
- 21. jQuery:使用ajax驗證
- 22. 使用jQuery驗證器
- 23. 使用jQuery驗證字段
- 24. 驗證表格使用jquery
- 25. jQuery驗證:使用jQuery的驗證林抽象規則
- 26. 使用jQuery驗證時使用jQuery驗證的多個值不顯眼
- 27. 用jQuery驗證錯誤驗證
- 28. 如何完全禁用「熱切」驗證使用jquery驗證?
- 29. 禁用jquery驗證
- 30. jQuery驗證 - 網址驗證
這不是一個表格式。我可以用一個ID做一個div嗎? – user186585 2010-08-15 08:32:57
當然可以。我剛剛發佈了一個可以適應您場景的示例。你可以在任何你喜歡的地方追加錯誤。 – 2010-08-15 08:37:39
我試試這個 error.appendTo($(「DIVID」)); did not work – user186585 2010-08-15 08:54:39