Mam prostą stronę która ma
Kod: Zaznacz cały
<h2>1</h2>
<select class = "aa", id = "a1">
// jakie opcje
</select>
<h2>2</h2>
<select class = "aa", id = "b1">
// jakie opcje
</select>
<h2>3</h2>
<select class = "aa", id = "c1">
// jakie opcje
</select>
W obsłudze tego eventu chciałbym dostać obiekt na kolejny element z klasy aa tj. gdy $(this) to a1, to $(this).next(".aa") musi być b1.
Jednak to nie działa. Samo $(this).next() da mi odpowiednie h2, ale next z selectorem już nie da mi <select>.
Dlaczego?
Ok sam sobie odpowiem: http://stackoverflow.com/questions/2089 ... xt-problem