there have been many questions like this before, but the answer usually involved referencing the element to be outputted to within the script. in my case, elements are created dynamically on load (it's hosted on Tumblr, to be specific), so there's no referable ID for each of the elements I need to output a string to.
is it possible to do this? jQuery can be used if it makes things much simpler. my function takes a string as an input and outputs a string using return.
return.” What does the string it takes as input represent?{TagsAsClasses}as an input, which is a string containing all the tags relevant specifically to that post.evalall the things!<a>tag, which is contained inside<div class="posttext">, which is inside one of many<div class="post">elements. all I need to do is output a single string to the inside of the<a>tag.