jQuery Examples – Horizontal Accordion - Table instead of Un-ordered Lists - UPDATED

后端 未结 2 383
醉话见心
醉话见心 2020-12-17 07:38

Ok I got it working for anyone who needs this :)

[Original Statement/Question]
Here is and example of what I\'m trying to do (But on clic

2条回答
  •  悲哀的现实
    2020-12-17 07:47

    This probably is a silly idea - but if you're stuck with the html (that is you can't edit it), but you do have the ability to apply any javascript on the page - why not simply reading the data that the table contains to memory (that is convert it to some js data structure), then just remove the original table using javascript and then using it create any html that suits your needs.

    That probably will be simpler than table hacking.

提交回复
热议问题