All Questions
Tagged with error-handling jquery
463
questions
0
votes
0
answers
29
views
table of content scrolls and the heading shows behind the header [closed]
I have created a table of contents using radio buttons. When I click on a radio button, it navigates to the heading on the same page, but it scrolls to a position above the header. This is my code.
&...
0
votes
0
answers
109
views
How to correctly handle errors in jQuery DataTable
I am using the (very nice) DataTable library from datatables.net, and I am now struggling a little with the correct handling of errors (notably a 404).
When I do nothing, I get an ugly alert, which I ...
0
votes
1
answer
167
views
Javascript error handling, error message is empty
I'm trying to add error handling to my submit form, but I'm not getting any error messages back..
There is a field for a url and when this url is set, a preview element loads this file and shows the ...
3
votes
2
answers
77
views
how do i use exceptionHandler in jquery.terminal
I'm doing something using different apis in jquery terminal but, If the user makes a mistake, the error message looks like this
code:
gemini: function(a){
$.ajaxSetup({async: false});
$.get('...
0
votes
0
answers
138
views
Uncaught TypeError: Cannot read properties of undefined (reading 'stationName')
Please forgive me for the silly question, but I honestly can't fix this. I have searched all over and I still can't understand what's causing the error.
I am learning how to code, and one of the ...
0
votes
1
answer
717
views
Wordpress error - Uncaught TypeError: e.dispatchEvent is not a function
I am getting this error in the console:
/wp-includes/js/jquery/jquery.min.js?ver=3.6.1
TypeError: e.dispatchEvent is not a function
at Events.dispatch (/wp-content/plugins/elementor/assets/js/...
-3
votes
2
answers
46
views
I first wrote jQuery and it doesn't work :(( [closed]
enter image description here
I thought I was wrong with jQuery connection but I tested with function(){console.log}
and it worked. but after function addNumber()~ is not work at all...
1
vote
1
answer
54
views
From a security perspective is ok to write out the error from a ajax call?
My ajax calls typically go something like this:
$.ajax({
type: 'POST',
url: '/Controller/GoDoWhatever',
contentType: 'application/json;',
...
1
vote
0
answers
101
views
Catch "0" errors in jQuery Ajax
Using this code, I'm sending a request to the server, and in the error section checking to see if the request was successful, so I can display an "offline" message in the html if the client ...
0
votes
1
answer
2k
views
jQuery Ajax error show Exception Response Message
I know this is a duplicate question but none of the others is helping me on this:
On the following Ajax:
$.ajax({
type: "POST",
url: "url",
data: {...
1
vote
0
answers
83
views
Inconsistent execution of Error function for Jquery Ajax POST request
I am running into an issue in my error handling of a Jquery Ajax request, and I'm having trouble finding the root of it.
I have a staging site where I am testing error responses for a form submission. ...
0
votes
0
answers
238
views
I am having trouble with this ajax timer it is not doing what I expect and does not execute
I am back to this not executing I have in php head the following https://deniserose.000webhostapp.com/fetch_sql.php
<head>
<title>Audio Stream</title>
<meta charset="utf-8&...
0
votes
1
answer
117
views
How do you ignore 'cannot read property 'error in jQuery
I have made a program that creates a div element and sets the inner text of that element to the same as another div element. The text is only there sometimes (as it is to display notifications) and so ...
0
votes
1
answer
530
views
Form is Submitting Although Error Handled on Blank Fields
I am trying to submit a form with a little error handling. when the fields are empty there will be a warning and it shouldn't be saved on DB. if the fields are filled there should be a success alert. ...
1
vote
1
answer
143
views
Highlight and append msg to element on return from .ajax
Upon ajax successful return, the return data contains status. if status is false(not ajax fail), return data contains array of element names and associated error message. The goal is to replicate ....