I'm working on updating a fieldtype add-on to work with EE3. This add-on calls one of its own functions from a javascript file to make some DB updates without reloading the page.
In EE2, the javascript called the function using $.get and a URL formatted like this:
This style of URL is not working for me in EE3 - I am getting a 404 not found error in the console when the $.get runs.
What format do I need to use for the URL in EE3 to access a function of my module (and pass in parameters)?
I thought I might be able to use an ACT to accomplish this, but I need the module to work on multiple installations so I can't hardcode the ACT id into my javascript file (and I'm not aware of any way to pull the ACT id from the database via javascript).
I really appreciate your help!