1,032,856 questions
-1
votes
0
answers
16
views
How to properly handle and display ASP.NET MVC API validation errors in AJAX responses?
I’m implementing AJAX-based teacher updates in an ASP.NET MVC 5 application with server-side validation. While my API correctly returns validation errors (e.g., 400 Bad Request with ModelState), I can’...
0
votes
1
answer
18
views
Apply same function to multiple sections
How can I apply the same function below to the other 2 div's sections? I would like the primary-btns uk and int in each div to show/hide the content within its child sections. Another issue is that I'...
-3
votes
0
answers
17
views
How to disable button ON selection in jQuery? [closed]
This code is designed to manage a user form where a person selects their continent from a dropdown list. It uses HTML for the form structure and jQuery (JavaScript library) to add dynamic behavior.
...
0
votes
1
answer
23
views
foundation slider with active thumbnail in the visible area
I'm using the orbit modul from foundation that works fine. I have reused the area of the bullets for the thumbnails of the large slider images. This also works so far, the active thumbnail is also ...
0
votes
0
answers
42
views
How to implement client-side and server-side validation for teacher updates in ASP.NET MVC?
I’m working on a school management system (ASP.NET MVC + MySQL) and need to implement update functionality for teacher records with robust validation. Here’s where I’m stuck:
Current implementation:
...
0
votes
0
answers
30
views
Bootstrap modal working proper but not with overlay component
The current interaction behavior is that after I click submit the form, it should have delayed time with spinner and success message but they're still not showing only modal close in setTimeout() ...
0
votes
0
answers
11
views
Compare data in jqxgrid array to an array of data selected in a map
I have modified this jsfiddle with the code I am using located here
Gets the index of a row in the array
I am wanting grab the row indexes that match the const intersection values. Is there any way to ...
-3
votes
0
answers
52
views
What is the difference between arrow function and anonymous function? [duplicate]
I have created a function with jQuery for hiding some <p> elements on double click and, for some reason, when I use arrow function it doesn't work but as soon as I put it in anonymous function ...
1
vote
1
answer
35
views
Drag and Drop Swap in cards is not working
here is my code, and i am trying to Drag a .card (which includes an image),Drop it onto another .card and swap their content so they switch places visually. But it is not happening and also not ...
-3
votes
0
answers
68
views
Issue in compressing and uploading video using javascript.,jQuery and php [closed]
I am create a video upload program where we upload video, compress it using js/jquery and then upload it on server using php
I compressed the video successfully and preview the compressed video blob ...
0
votes
0
answers
39
views
Jquery script not working when variables changed [closed]
I have the following script which is taking content with with a certain class, loads it into a particular div and then removes the content with a different class. Works great.
$(document).ready(...
0
votes
2
answers
68
views
Setting Javascript Variable within a Javascript Variable
I hope this makes sense to someone. Not even sure this is possible so that's why I'm posting a question here.
I'm returning the data in Fetched Data using the Fetch shown in Fetching the Data. I'm ...
1
vote
1
answer
35
views
Truncation plugin only works on the first page of a Data Tables table
I am using DataTables to display, paginate and sort a set of data.
new DataTable('#employees', {
info: false,
paging: true,
filter: false,
"aLengthMenu": [5, 10],
initComplete: function() {
...
1
vote
0
answers
50
views
How to place a cropped and resized image into a file input field?
I'm using a script that allows the user to resize and crop an image. The problem is that I want to upload the cropped image with a normal input (file), so that my server sided laminas script can ...
0
votes
1
answer
71
views
How to populate a field in array?
How can I populate the Amount $ (Tax Included) field based on input from the respective Quantity field? E.g. When user enter a quality of 5 in the Flower row (Row #2), 5 is supposed to be populated in ...