Answer the question
In order to leave comments, you need to log in
js+ajax. How to stop script execution?
Good afternoon.
Please tell me some solution to the problem.. The
following scheme is implemented:
1.HTML form + Ajax script.
2. The value is entered in the form and on the click of the button Ajax requests the PHP file
3. The list of values in the PHP file is in the format "Value => Path to the script"
4. Accordingly:
Enter the value => Ajax requests this value from PHP => the script corresponding to the value is executed php => output the result back to HTML using AJAX.
In the first script (1.php), in addition to php commands, I wrote a test js script:
<script type="text/javascript">
alert(1111);
</script>
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