Monday 25 November 2019

How Do I Send a post request after a double Click ?

As the title says:Say I have an image tag (see below)​
As you can see above I've set ondblclick to myfunction.2 put a link to my script in the head.I want to trigger my function on double clicking the image, that function will then call an app.post() method in my server file.​So in summary I want the double click to trigger my client side js file function which will then trigger a method on my server side js file in order to send the post request. Can someone please tell me what I'm doing wrong :P. Thanks.

Submitted November 26, 2019 at 05:05AM by bodymindsoul

No comments:

Post a Comment