Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
28 views

JQuery - ajax sending array to Spring controller - bad request

I am using Spring 5.3.9, jackson-core and jackson-databind- 2.17.1 version. From UI, I am sending json array to the controller. I have tried multiple parameters types in the controller and none of ...
user3067524's user avatar
0 votes
0 answers
44 views

Get a specific key and value from JSON

I need something very simple. Sorry I am not familiar with jq and a top novice. { "pets": [ { "name": "Purrsloud", "species": "Cat", ...
Tate_87's user avatar
  • 149
1 vote
2 answers
108 views
+50

Passing two parameters (IFormFile and a string) with JSON to C#

Versions: ASP.NET and Web Tools - 17.10.341.11210 C# Tools - 4.10.0-3.24312.19+ JQuery - 3.3.1.js JS - 2.8.3.js I'm trying to pass an IFormFile and a string from a JSON file select and a string input. ...
Kevin Fischer's user avatar
0 votes
1 answer
23 views

Check for Table null in Jquery for JSON response

I have a JSON Response which has 5 tables. So I parse that same JSON. After parsing, I am getting 1st table as [] . So I want to check that condition. Below is the JSON response and parsing. var ...
hud's user avatar
  • 4,703
0 votes
3 answers
136 views

get title from JSON

I am stuck!.. I have a jQuery script where i am populating a gallery of images from a JSON file, its like a lightbox type of thing. But i want to have a title to my images, so i have created a second ...
Wyrm's user avatar
  • 27
0 votes
1 answer
41 views

Store result of json request in a variable [duplicate]

I need to store a value of json response to use in another function. I have this code: const url_moodle = "https://xxxxx/xxxxx/app/appmoodlejson.php"; var moodleEmail = function (email){ $...
Dixander Carballo Buque's user avatar
-1 votes
1 answer
60 views

I want to send data using ajax when the value comes out in jsp

The value comes out from jsp. However, I don't know how to send the value as ajax data. I tried to print the jsp value and change it, but it failed. What should I do? What should I put in the data in ...
seullbee Lee's user avatar
-3 votes
4 answers
98 views

Matching Keys and getting value in PHP or jquery

I have two arrays Array1 {"Colour":"RASPBERRY","Size":"11"} and a list of products Array2 [ { "ProductID": 33043, "Key": "...
user3050803's user avatar
0 votes
0 answers
75 views

Using ajax and json to fetch data from database in laravel

I want to fetch data from database using json and display the result on a datatable in html using ajax. It was easy to perform the action in php but I'm not sure how its done in Laravel. This is how ...
Untamable Beast's user avatar
-1 votes
1 answer
60 views

Error on converting Json data to QR code using JS library

I'm trying to convert JSON data into a QR code, so when a user scans it, the JSON data should be displayed. I've been using the jquery.qrcode.min.js library for this. Here's an example of the JSON ...
user25271508's user avatar
1 vote
2 answers
59 views

jQuery serializeArray() into new JSON array with individual items

I am using jQuery serializeArray() and it successfully collects the engine form info. However, I need the info in an array so that each "engine" is an item in the new array. Engine 1, Engine ...
Chris's user avatar
  • 865
1 vote
1 answer
52 views

How to populate data from json format into data table and keep datatable properties

I have been able to get data into data table from json format via ajax,But suddenly data table lost some properties that enable it to search and allow pagination on page. But the results can be viewed ...
Shyakalee's user avatar
0 votes
1 answer
24 views

Error when using jQuery selectors pulled from a JSON configuration

I have a JSON object with jQuery selectors and values inside it. Special characters inside the selectors have (I think) been properly escaped. Here is what the JSON looks like: var config = [{ &...
JosephStyons's user avatar
  • 58.1k
0 votes
1 answer
54 views

Laravel Delete record from Ajax Call - Button click event not working

I am trying to delete a record from ajax call in a laravel crud. But the click event seems not working. Therefore delete function is not working. Here is my code. web.php Route::delete('/categories/...
Private the Penguin's user avatar
2 votes
1 answer
30 views

My data isn't rendering on my page. The json seems to be pulling in correctly

I was practicing displaying data using handlebars and I am stuck. In my console I can see that it is pulling in the information from my api but my HTML within handlebars isn't rendering on the page. ...
Rachel27's user avatar

15 30 50 per page
1
2 3 4 5
2466