I have a website that was set up using Webforms with page breaks. So on the same URL, there are multiple "pages" and div blocks on each page, with a progress bar on top so you know what "page" you're on.
I want to repeat JavaScript code so I was thinking of using modules and/or blocks.
Can I call the specific block or code from inside the div?
For example if I make a block with js code, right now it is showing up on every "page" since they all use the same URL, when I only want it some specific places.
I would love if I could use something similar to <script src="sites/all/libraries/myfile.js"> inside an HTML markup div but I'm pretty sure this is not allowed.