WordPress.org

Ready to get started?Download WordPress

Forums

Multi-language Responsive Contact Form
AJAX call not working (3 posts)

  1. EfHa
    Member
    Posted 4 months ago #

    The ajax call on submit is not working on 1.5.

    Cause
    wrong url on the include of the ajax.js script results in a 404 while loading ajax.js

    Solution
    Edit 'ai-contact-form-template.php' line 3.

    Change

    wp_enqueue_script( 'my-ajax-request', plugins_url('/js/ajax.js' , __FILE__), array( 'jquery' ), '', true );

    to

    wp_enqueue_script( 'my-ajax-request', plugins_url('/responsive-contact-form/js/ajax.js'), array( 'jquery' ));

    https://wordpress.org/plugins/responsive-contact-form/

  2. August Infotech
    Member
    Plugin Author

    Posted 4 months ago #

    Hello EfHa,

    Thanks for solution given to us and surely we will update this in a couple of days.

    Thanks & Regards,
    August Infotech

  3. August Infotech
    Member
    Plugin Author

    Posted 4 months ago #

    Hello EfHa,

    We have updated our code as you suggested in our plugin. Once again thanks for your suggestion and we appreciate for it. Please check it once and if you have still any query regarding this then feel free to tell us.

    Thanks & Regards,
    August Infotech

Reply

You must log in to post.

About this Plugin

About this Topic