Or put your javascript in a Generico filter template. And then add a generico filter string in the html editor when you need it. Then you don't need to write any php or make a whole new plugin.
See here:
Or put your javascript in a Generico filter template. And then add a generico filter string in the html editor when you need it. Then you don't need to write any php or make a whole new plugin.
See here: