• Hi
    I have search every possible place including videos and I cant seem to get this right. I have designed an input form (HTML / CSS) for specific inputs, but it makes use of Javascript to do the calculations. This will be used in specific page only. I cannot get the HTML and Javascript to link for the form to work.

    I am including the link off Fiddle Sample

    I would appreciate a absolute step by step guide to this, from uploading the JS script file via FTP.

    I have uploaded various plugins to help with this function, but nothing seems to work.

    Thanks in advance.

    Tobie

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tobievr

    (@tobievr)

    Hi Esmi
    I have and have tried absolutely everything and cannot get it right.

    Thanks

    Moderator bcworkz

    (@bcworkz)

    An example. I have a child theme in which many of my hacks reside. I uploaded my javascript file util.js to a /js/ folder in my child theme. In the child theme’s functions.php I have this code.

    function my_scripts_method() {
    	wp_enqueue_script('util');
    }
    add_action( 'wp_enqueue_scripts', 'my_scripts_method' );

    Various pages make calls to the contained functions via various events defined in the html.

    Hope this helps some.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Javacript / HTML Form into Specific Page’ is closed to new replies.