I have an HTML table with a fixed header. The code I used for the fixed header I found on Stack Overflow and I have the link in the code.
NOTE: I found one other thread similar to this one posted 4 months ago and it never got a response--the poster also didn't post any working JSfiddle, so I figure that warranted the posting of this separate thread.
The issue I'm having is trying to prepend a row to the HTML table using jquery.
The "scrollify" code duplicates the original table... incuding its ID. Therefore you end up with two elements with the same ID.
Immedately after the line
var newTbl = oTbl.clone();, add this: