Home › Forums › Support › Enter Jquery Code in my Gp theme This topic has 1 reply, 2 voices, and was last updated 3 years, 11 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 13, 2019 at 9:11 pm #1103838 Christine Hi, Where i can enter the Javascript code in my website? from This website The code I want to enter is $("form").keypress(function(e) { //Enter key if (e.which == 13) { return false; } }); Let me know where to add the code. December 14, 2019 at 5:20 am #1104061 DavidStaff Customer Support Hi there, you can use a Hook Element: https://docs.generatepress.com/article/hooks-element-overview/ Select the WP_footer hook and wrap your code in script tags: <script type="text/javascript"> //jQuery code here </script> Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In