declare $ jQuery inside class code example Example: jquery select input with class $("input.myClass:checkbox")