Man, I really don't know why my code is working this way... it's frustrating... I really don't wanna go back to 1.2.6...
On 26 fev, 15:08, Eric Garside <gars...@gmail.com> wrote: > Do you have a demo page up somewhere that displays these errors? That > code looks perfectly valid, and I've not noticed any errors in 1.3.1, > so I'm not sure what could be causing it. I threw up a jsbin test on > it, and it seems to work fine. > > http://jsbin.com/aputa/edit > > On Feb 26, 1:02 pm, AndreMiranda <acymira...@gmail.com> wrote: > > > Hi Eric! > > > I showed this problem with Flexigrid selected rows, but the problem is > > with a specific class attribute to several elements. > > For example, If I have 2 links with class attribute "clickMe" and I > > do: > > > $(".clickMe").click(function(){ alert("this is a test"); }); > > > only the FIRST link works. In 1.2.6 this used to work just fine, but > > in 1.3.1 don't. > > > The same code above, to work on 1.3.1 in my projects, I have to do > > > $("a .clickMe").click(function(){ alert("this is a test"); }); I > > had to specify that "clickMe" is a link ("a") class attribute... > > > Thanks!! > > > On 26 fev, 14:50, Eric Garside <gars...@gmail.com> wrote: > > > > Can you provide some HTML to go along with this? There's not enough > > > info present to properly determine the issue. > > > > On Feb 26, 12:47 pm, AndreMiranda <acymira...@gmail.com> wrote: > > > > > Hi everyone!! > > > > > Well... for me it's just the same thing, but I don't know why this > > > > works in 1.2.6 and doesn't in 1.3.1: > > > > > if ($('.trSelected').length == 2) > > > > { > > > > alert("hello"); > > > > > } > > > > > In this case, I'm selecting rows on flexigrid and used to work just > > > > fine in 1.2.6. > > > > > To work in 1.3.1, I had to do this: > > > > > if ($('#flexDiv .trSelected').length == 2) > > > > { > > > > alert("hello"); > > > > > } > > > > > I had to specify the table from where the trSelected are... why does > > > > this happens?? > > > > I'm having too many problems with class attibutes. For example: If I > > > > have 3 input text with class "test", only the first input text is > > > > functional... the other ones no. > > > > Why? > > > > thanks!!!