Forums

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

Home Forums JavaScript JavaScript / Jquery to elide part of a figcaption element Reply To: JavaScript / Jquery to elide part of a figcaption element

#210144
alxfyv
Participant

Thank you for taking the time to consider my problem and work on it. Much appreciated.

Unfortunately, it doesn’t seem to work. I copied and pasted the code into the header for the page on which the block quote appears. I wrapped it in <script></script>tags.

Is there something I need to put in the <head></head> section of the site to “load” JavaScript into the site or make a “call” to JavaScript. (Please pardon me if I’m not using the correct terminology; I’m completely unfamiliar with JavaScript.)

Is there a single “function” of code that would work on all instances of a block quote (the class .source) site wide irrespective of the number of instances of the class previously?

Again, thanks so much for your time.