WordPress.org

Forums

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

  1. EfHa
    Member
    Posted 2 years 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 2 years 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 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic