Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #10409


    I am using the jquery datepicker on my product page via Gravity Forms add on and I need to add some custom javascript to make the datepicker work the way I want.

    Where can I add this javascript or call it? Do I put in the themes header? I would like to avoid having this info overwritten when there is a theme update if possible…



    ** Update: This is the javascript I am trying to add and this is the plugin I am using to add it

    However, it just does not seem to work like it does on the jsfiddle page.


    I think the easiest solution would be to add the code in header.php before the closing head tag. Header.php isn’t affected by the theme updates (you need to replace the files manually – see version.rtf for more details).

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Where to add custom javascript?’ is closed to new replies.