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

    Hi,

    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…

    thanks

    #67952

    ** Update: This is the javascript I am trying to add http://jsfiddle.net/NHdEX/10/ and this is the plugin I am using to add it http://wordpress.org/extend/plugins/css-javascript-toolbox/

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

    #67953

    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.