Answer the question
In order to leave comments, you need to log in
Is it possible to ajax call a php script without specifying in JS?
When the button is clicked, I want a php function to be called. But I don't want to specify a
url in JS: chtoto.php
data: ... Etc.
So
that there is no url, but somehow specify a function that is on the same file. I glimpsed something somewhere, I can't find that code again to study.
I hope I explained correctly.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question