--- title: "Adding Javascript (Advanced)" slug: "adding-javascript" description: "How to add custom Javascript to an infoodle form via the CSS entry box by closing the style tag, using jQuery and userPageLoaded(). Advanced and unsupported." updated: 2026-10-17T04:36:28Z published: 2026-10-17T04:36:28Z canonical: "help.infoodle.com/adding-javascript" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.infoodle.com/llms.txt > Use this file to discover all available pages before exploring further. # Adding Javascript (Advanced) PLEASE NOTE This is an advanced feature which infoodle does not provide support for directly. There are too many different things that could be done with Javascript for us to provide support, and every website is different. Please only use this feature if you have experience with Javascript. For those who have experience of using Javascript, then you are able to add javascript to a form. This enables you to make the interactions with the infoodle form more flexible and create a more customised experience for your users. The **[CSS Entry Box](/v1/docs/css-code-advanced)** in the form build area is where you are able to add the javascript. Because infoodle places the contents of this box in the header area, within `<style>` tags, then you can use this to your advantage by closing and reopening the style tags - and adding your Javascript in between. e.g. ```