WordPress.org

Ready to get started?Download WordPress

Forums

Location path within external JS file (1 post)

  1. JLT80
    Member
    Posted 10 months ago #

    Hi there

    I have written my own plugin. It seems like something is going wrong with the Javascript. I have queued two JS files and one Jquery.

    Within one of the external JS files I use the following script:

    $(document).ready(function(){
    $("#tag").autocomplete("autocomplete.php", {
    selectFirst: true
    });
    });

    It looks likes the plugin can't find autocomplete.php how can fill in the write path to the file?

    Thanks for your help!
    Jelte

Reply

You must log in to post.

About this Topic