The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript proper .append() syntax Re: proper .append() syntax


I didn’t have a specific goal in mind, that was just an example. It was mostly out of curiosity. I ran into an issue with reapplying java to new DOM elements and I couldn’t get .live() to cooperate so I figured if I could add a function to the end of an .append() I could just roll everything up into one.