Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jamesjl

    (@jamesjl)

    Worked like a charm and now I have the foundations to build on and have a couple of working solutions by adding html elements with id’s and names which I can reference in my jQuery.

    Very much appreciited.

    Thread Starter jamesjl

    (@jamesjl)

    Many thanks @bcworkz It worked perfectly once I’d spent some time diving into the suggestions you made. I now have a .js file enqueued into my functions.php file and having added id tags to a bunch of html input and label items on a page the jQuery executes exactly how I hoped it would.

    Supplementary question I’m afraid…

    The .js file is enqueued in the theme’s functions.php file which makes the the script code available in all pages. Is there a way to only enqueue the .js file into just a single content page without having to hard code it all?

    Thanks again for your help so far, and hoping you can help further.

Viewing 2 replies - 1 through 2 (of 2 total)