jQuery Ajax GET and POST Requests Examples
HTML-код
- Опубликовано: 10 сен 2024
- Download the source code here chillyfacts.com...
Open MySQL through Command Prompt CMD
• Open MySQL through Co...
Integrate Login with Facebook using Javascript
• Integrate Login with F...
Simple JAVA program to download youtube vidoes
• Video
How to see all devices / PC connected on your network
• How to see all devices...
Simple java program code to convert Image to Text
• Simple java program co...
hi,what if I want to determine what the button submits ,say I have 3 buttons with IDs fruit1,forwad and show ,when you click on fruit1 the infomation in show (an image and image name) must be put in the button with id "forwad" on the same page.
I Tried this but can't get anything
function myonclickfn(){
document.getElementById('fruit1').onclick=function(){
$.ajax({
type: "POST",
url: $("#forwad"),
data: $("#show"),
});
};
} ;
Finally i got what i want :) please make same video integration with java nd json response thx
this may help you
JAVA- Send HTTP Get/Post Request and Read JSON response
ruclips.net/video/NyPp3dAxb0I/видео.html
JAVA-Send URL HTTP Request and Read JSON Response
ruclips.net/video/umZ_KdcXRAQ/видео.html
JAVA-Send URL HTTP Request and Read XML Response
ruclips.net/video/F3hWv6PimB8/видео.html
Send JSON Request and Read JSON Response using JAVA
ruclips.net/video/hWT5WjWqJzc/видео.html
I also
How to make async : false in $.post ?
thank you :D