WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] ajax doesn't work in a page loaded via ajax (2 posts)

  1. tedcarter
    Member
    Posted 3 years ago #

    Hi,

    I'm using WPCF7 in my blog - only in localhost, at the moment.
    In my template, the Contact Page is loaded with a jQuery Ajax function. I noticed that the WPCF7 Ajax function didn't work correctly for the reason i've just mentioned. The result was a redirect to a url like http://mylocalhost/contact/#wpcf7-f1-p81-o1

    (The email was sent).

    How can I fix that?

    Thanks in advance
    Edo

  2. tedcarter
    Member
    Posted 3 years ago #

    easy:

    load the script in the Contact Page custom template.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic