• Resolved hubasia0

    (@hubasia0)


    I want to add code into wordpress .php file

    $(document).ready(function () {
    var slide = function () {
    …. (1)
    };
    });

    I try to add code like
    $(‘#wpcf7-response-output’).on(‘change’, slide);
    or
    $(‘#wpcf7-response-output’).trigger(slide);

    but it not work. maybe my syntax wrong. Orz
    please answer me if you have any idea.

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

    (@hubasia0)

    and if I add

    on_sent_ok: “slide();”

    in additional setting. it not work too. Can get email but word in comments not clear

    Thread Starter hubasia0

    (@hubasia0)

    This code not work too.
    on_sent_ok: “document.getElementById(‘comments’).replace(“a”,”b”);”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I run my function after form show sent success box?’ is closed to new replies.