jquery.find ... and ... Array index ... not working together ..... Object #<HTMLFormElement> has no method 'find
hi
i do something wrong but i have no clue what what's wrong with it..
- // it get 3x .formResponsive
- $objc = jQuery(".formResponsive");
- $objc.each(function(i){
// 0 ist just for testing
- if(i == 0){
- jQuery(this).find('input[type="checkbox"]').change(function(event) { cal(i); });
});
- function cal(intr)
- {
\\ something goes wrong with intr.. i get the error :
\\Uncaught TypeError: Object #<HTMLFormElement> has no method 'find' \\ even if i put 0 number in it.. it will not work..
- $objc[intr].find("input:checkbox:checked")
- .each(function(i){