Answer the question
In order to leave comments, you need to log in
How to access PHP script via JQuery in DLE?
Good evening.
There is a button on the DLE static page. You need to make sure that when the button is clicked, the JS function is called (there are no problems with this). This function should create a JQuery query. I create it like this:
$.get(' - ПУТЬ -', function(data) {
alert(data);
});
Answer the question
In order to leave comments, you need to log in
Normal - nothing. And it is right!
Why do you climb directly into the folder with the modules?
Read about the architecture of DLE applications at your leisure.
Crooked: mod_rewrite on a web server (but I don't recommend doing that!)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question