Skip to content

Tag: get

Express GET request not reloading page

I’m trying to send the client the next HTML page (create.html) as a response to a GET request (fired by button) using fetch. I am purposely trying to avoid using a form due to formatting issues and potential future scaling issues. The code registers that the request is sent, received, and is responded t…

Why does this GET request create infinite loop? (React)

First, please look at the code. The problem happens with this following code. When I add actionItemArray in the second argument array, It keeps looping these two console.log events. When I delete actionItemArray from the second argument of useEffect Hook, I have to refresh my page to added, deleted and edited…

jquery get() does not return any response

I actually try to load a php script and get some return values. I tried the following code: http://www.w3schools.com/code/tryit.asp?filename=FA39VK30JU3U It does the GET request correctly as i can see with firebug. But it never shows me any response with the alert box. I have also tried the following code: Th…