• Resolved ___ripa___

    (@ripa01)


    Good morning,
    i tried to add some code to execute after the ajax call. In Settings i write my scripts under “Do after Ajax” field. But in the web page the system automatically add to my code a “/” before each ‘ or ” and for this it show an error and doesn’t execute the script.

    Ex: MY CODE
    console.log(“after ajax code”);

    the result
    console.log(\”after ajax code\”);

    Any suggest?

Viewing 1 replies (of 1 total)
  • Plugin Author paradigmatools

    (@paradigmatools)

    Hello

    Try in file – wp-content\plugins\tmp_free_avalon23\classes\filter.php – change code – https://c2n.me/4dtluHj.png

    return 'function avalon23_after_page_redraw(_this,response){ ' . stripcslashes($js) . ' }';

    Clear all cache and do a test

Viewing 1 replies (of 1 total)
  • The topic ‘After Ajax JS not working’ is closed to new replies.