I figured the function wasn't seeing the new content, but I wasn't sure how to attach it. I don't know if I'm putting the suggested code blocks in the wrong places, but I can't get them to work.
I actually just tried making a new .load button to get the highlighting script to replace itself with the exact same content (from a separate file) to see if the browser parses it then, but it didn't work.
I also would have liked to be able to load the new content with drop down menus rather than dozens of buttons, but I couldn't figure out how. It doesn't affect the core functionality, though, so I'm focusing on just getting the page to work.
1. Is there a way to just tell the browser to re-parse part of the page again? It could happen automatically when the user loads new content, or it could be a separate button, I don't mind.
2. Should I just be loading the new content in a different way?