Using php page informations in javascript

There are different topics in my post:

  • There’s Kirby’s attr() function that formats and escapes HTML attributes for elements
  • There’s jQuery’s this in the hover handler, that refers to the event “target” that triggered the current jQuery event.
  • There’s jQuery’s data() function that reads and returns from attributes whose name begin with data-

And there’s the general concept about “when what is executed where and by whom”. I wouldn’t know a specific authoritative source online for that.
Maybe we can help you better with more specific questions. :slight_smile: