Skip to main content

All Questions

Tagged with
-1 votes
0 answers
19 views

Return $.get data to main scope [duplicate]

I am trying to use the variables that I set within my $.get function outside of the function itself. Here is the $.get: $.get("process/getTotalSales.php", function (data) { var obj = JSON....
John Beasley's user avatar
  • 2,853
0 votes
1 answer
14 views

How to query post requests on browser

I've been getting started with querying APIs, and I spent a while today frustrated with trying to do a POST request through my browser, the same way I was able to do GET requests. I folded and got ...
klaus's user avatar
  • 1
0 votes
1 answer
22 views

Can't get data with URL in Postman, but can with passing by key-value

I'm not very familiar with Postman but why GET request returns data when checkbox is marked and without url parameter, like this: and when I try to put url parameter and unmark checkbox, then doesn't ...
NJR11's user avatar
  • 63
0 votes
0 answers
11 views

Laravel on Postgre Ajax Request Returns url and null on Server?

I have a laravel project works just fine on my local (MacOs- Postgre). We just pulled the project on an Ubuntu server, but my ajax method is not working. It is expected to create a new selectbox with ...
Elif Bahar Özdoğru's user avatar
0 votes
0 answers
51 views

Java servlet doesn't pass response to AJAX jQuery

I tried to send request with AJAX jQuery to servlet and to display the table with results, but the only thing I see after sending the response is So, as we see, the servlet handles the request and ...
MC_Vovi's user avatar
  • 15
1 vote
1 answer
94 views

Facing issues in JavaScript "get" method deployed via netlify

I made an real time chat application. Mysql database is used. Code in my local system works perfectly, ie get method via http://localhost:3000/. It is not working in, while deploy in netlify. I think ...
Arun K's user avatar
  • 9
1 vote
3 answers
75 views

How to remove parameter’s value from a GET call

I have a GET call to a document management system to get a document based on its document UniqueID. The URL looks like this: www.url.com/getdocument?uniqueid=“**12345**” Since the uniqueid is visible ...
Allen Poirier's user avatar
1 vote
0 answers
35 views

How to get ajax get request to work to 'print' data from json file?

I'm making a 2-player game called shut the box, which involves 2 sets of 9 tiles (1 set per player). Each player takes a turn to roll the dice and can then choose which tiles to close as long as it is ...
Lina's user avatar
  • 11
0 votes
0 answers
30 views

Appending 3 images at once in HTML via HTTP GET request using Ajax

I'm trying to send an Ajax request for each image that needs to be added in my HTML. The way it works is that URL: "http://198.245.55.77/mars/camera.php has 10 images that we can get from by ...
Aydin's user avatar
  • 1
0 votes
1 answer
22 views

Just doing some JQuery AJAX and I'm going step by step, but I keep getting a 404

I'm just trying to test out JQuery AJAX and I'm going about it slowly. I open up the file on browser and use chrome dev tools to find find out what's going on, and it says that the status code is 404. ...
Jackwagon's user avatar
0 votes
2 answers
90 views

JQuery getJSON() has status code 200 but returns no data

I am trying to load some JSON data from an URL to populate a dropdown in a form. I am using the getJSON() function to get the data, and it has worked for other URLs very well, but for this instance I ...
Bogdan Rotaru's user avatar
0 votes
2 answers
212 views

Call http get every time user enter a digit in an input field

How do you make JavaScript send http get every time you enter a digit on input. (On input change doesn't work) Current Code only sends the request when user changes the input and leaves the field. **...
Lewin Muzvonda's user avatar
0 votes
1 answer
38 views

problems with parsing arguments jquery: $getJSON --> php:$_GET

I want to invoke a php program from javascript and send relevant info by $.getJSON from the js side to be processed to the php module through $_GET. Thankful for any helpful suggestions Cheers, Nisse ...
cory s. shearwater's user avatar
0 votes
0 answers
41 views

Unable to execute PHP code from extenal file with GET request

While learning JQuery and AJAX, I came across some exercises with GET requests to external files. (https://www.w3schools.com/xml/ajax_php.asp) My JQuery script is as follows: function ...
snakers's user avatar
0 votes
2 answers
510 views

Javascript concatenate select and input values in a text box

I'd like to concatenate several values from selects and input fields on a final input field that contain all the values. What I have until now is this: $('#chosen_a').change(function() { $('#...
Valentina Furnò's user avatar

15 30 50 per page
1
2 3 4 5
111