The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Hide a row when input disabled Reply To: Hide a row when input disabled


I feel so close thanks to you but… still doesn’t work. I can’t believe I can’t understand the logic behind Jquery…

Here’s the right Codepen, I updated with your code.

As you can see on HTML side, the attributes=”size” is inside <tbody> (and there’s 2 <tbody> inside the same <table>), and not inside <table>. That’s why it doesn’t work for me.

So, I naively thought I just had to overwrite “table” with “tbody” (as you can see on my Codepen), but no, it doesn’t work that way.

I think I better speak Chinese than jquery…