We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Javascript insertion in footer - Module development

How Do I?

Perc's avatar
Perc
1 posts
8 years ago
Perc's avatar Perc

Hi, i am creating a module, everything is ok so far, but for last i need to have some JS inserted in the footer. How can i accomplish this from within the module? More details: I have created a module that creates a form which sends data to the CRM. Now i want it to send the data via AJAX and that requires some JS in the footer. Is there a way to access lets say {layout:set name="js"} from the module? Or some webhook? I want this JS to be inserted only on pages where there are forms, where the module is used…

P.S. I am pretty new with module develoment….

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.