jquery validate on elements not yet created

前端 未结 4 1173
日久生厌
日久生厌 2020-12-06 19:45

I\'m wondering if it\'s possible to have the jQuery Validator plugin validate elements that don\'t yet exist in the dom when the rules are initially setup.

Calling t

4条回答
  •  情深已故
    2020-12-06 20:03

    Okay, try two. What is adding your elements dynamically? Can't you just place the .Rules("add", ) to the same code?

提交回复
热议问题