jquery.find ... and ... Array index ... not working together ..... Object #<HTMLFormElement> has no method 'find

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..


  1. // it get 3x .formResponsive
  2. $objc = jQuery(".formResponsive");

  3. $objc.each(function(i){ 

  4. // 0 ist just for testing
  5. if(i == 0){


  6. jQuery(this).find('input[type="checkbox"]').change(function(event) {      cal(i); });

    });






  7. function cal(intr)
  8. {
                       \\ 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..


  9.    $objc[intr].find("input:checkbox:checked")
  10. .each(function(i){