0
how to call java function when javascript button clicked?
I have a function in java that updates my json file and database. how do I call that function when a javascript button is clicked?
3 ответов
- 1
Xixi
There is no function in Java. In Java, function is known as Method.
You can use JSON or Ajax to send data from client side to server side and call your Java method and insert data in database.
- 4
It will be that you can help me with my codes I am a beginner
- 4
POST method to PHP with HTML / JAVASCRIPT Form ready