Skip to main content
No. of Recommendations: 0
Line 209 warns:

TypeError: node.getAttribute is not a function. (In 'node.getAttribute("sorttable_customkey")', 'node.getAttribute' is undefined)

It's undefined at complile time but OK at runtime.

Well, I'm home back in the USSA.
I just peaked at your sorttable code and realized you might not be setting the Attribute "sortable_customkey". In that case, why not just delete that "If" statement?
Then it won't check, doesn't use, no errors. . ..

Print the post  


What was Your Dumbest Investment?
Share it with us -- and learn from others' stories of flubs.
When Life Gives You Lemons
We all have had hardships and made poor decisions. The important thing is how we respond and grow. Read the story of a Fool who started from nothing, and looks to gain everything.
Contact Us
Contact Customer Service and other Fool departments here.
Work for Fools?
Winner of the Washingtonian great places to work, and Glassdoor #1 Company to Work For 2015! Have access to all of TMF's online and email products for FREE, and be paid for your contributions to TMF! Click the link and start your Fool career.