3
In this script below https://jsfiddle.net/gatkzgtw/4/ I have a table that expands when we click on the line. when expanding it shows me a second table. the problem is that the script is repeating itself in this second table inpedindo to show all the lines, in this second table if we just click there and show the rest of the lines, how can I make the script only work the expantion in the first table?
Perfect that same, just a doubt... because you think it best to do in CSS?
– Fabio Henrique
@Fabiohenrique CSS is faster than Javascript and thus saves lines of code and processing. For example these tables will be with nothing hidden until the browser runs Javascript, when if you had these hides/shows in the CSS it would load right with the page.
– Sergio
Would you have some model example?
– Fabio Henrique
@Fabiohenrique I added an example in the answer
– Sergio
Very good I will do for this ..... Thanks brother
– Fabio Henrique