Hi

Does anyone have a simple way to expand and collapse table rows. For example i will have 26 rows (one for each letter of alphabet) then i can say expand A and i will get a list of things there?

thanks

you can do this by dynamically adding the element in dom tree. for that use
-getElementById()=to get require element
-element.appendChild() to insert new element as child in already present element.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.