Skip to main content

All Questions

Tagged with
0 votes
0 answers
22 views

Return view from nested classes in ASP.NET MVC for complex json String

My Model is : (Problematic section is Variant[] Variants, that is not passing to controller) public class SingleProduct { public Product1 product { get; set; } } public class Product1 { [...
Samie Ullah's user avatar
-4 votes
0 answers
36 views

How can I 'get' or 'fetch' the response JSON value as shown in browser console? [duplicate]

The response is generated by an AJAX post process on change of a select option. I need to get the attributes and image objects. This is handled by WooCommerce. I tried various fetch and jQuery get ...
Nadal's user avatar
  • 105
0 votes
0 answers
53 views

Why is my AJAX request not working in Node.js and Express project?

I'm trying to make a request using ajax to my backend, but it always returns a 404 error, but my route exists. Project structure: public -scripts --script.js routes -chats.js views -chats.ejs index.js ...
Gomaink's user avatar
2 votes
1 answer
47 views

response handling in Js/AJAX

I created a function to update data using AJAX. On xhr.onload, this.responseText is not displaying any value in the console log, and only the else part of the condition is executing, even though the ...
Mujtaba Ahmed's user avatar
0 votes
0 answers
10 views

How do I create an uploda form that reads data from file and outputs that data to the page via AJAX?

I am looking to integrate a feature onto my website that reads the data from a JSON file and then outputs that data, all via AJAX. A bit of background is that I am creating a specific online tool ...
RichRBX's user avatar
0 votes
0 answers
25 views

I cant send data from form

i have a problem with sending data to my mail from form.I have a 2 form in my code, one is for "fizickaLica" one is for "pravnaLica". Now i have js code which send data from first ...
Milan Vidanovic's user avatar
-1 votes
1 answer
61 views

Non-null assertions can only be used in TypeScript files.javascript

I've been working on this code base for the past month. And just yesterday, I started facing this problem on a few files. The code is supposed to change the div based on selected options. Here is the ...
rustybladez'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
-2 votes
1 answer
57 views

What is the 'elegant' way to update name/age pairs in a website with javascript, and json? [closed]

I've got a server that hosts a website and collects data. Though it is actually Energy/power data in home automation, I will make the question more clear with name:age pairs: Suppose I have a Json ...
Arjen's user avatar
  • 17
0 votes
0 answers
25 views

Reloading partial view with AJAX

So i have a mesaging system that when a message is sent im currently reloading the whole view to see the new message in the conversation, however, i want to make it so jus the message partial reloads ...
Owen's user avatar
  • 19
0 votes
0 answers
74 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
2 votes
1 answer
84 views

Why doesn't it recognize any selections on the datepicker?

I'm trying to populate a select dropdown with the hours that don't have appointments booked, and right now I'm experiencing somethin really dumb with datepicker, because I want it to be populated ...
José Filipe Silva's user avatar
0 votes
0 answers
17 views

Wordpress Generated a list of page from button with AJAX

I am new in coding and I have issues to understand how Ajax works. I created a button which allows to generated a page in wordpress that can be edited after. I want that when I click on the button it ...
OceaneEMILE's user avatar
0 votes
0 answers
54 views

Controller parameter annotated with [FromBody] is null after Ajax POST to controller

I have a controller method that expects as a parameter a model type. I am using Ajax to POST data to this controller method. public async Task<ActionResult> EditMessageEffectiveDate([FromBody] ...
John Harrington's user avatar
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

15 30 50 per page
1
2 3 4 5
1245