Questions tagged [jquery]
jQuery is a JavaScript library. jQuery is a popular cross-browser JavaScript library that facilitates Document Object Model (DOM) traversal, event handling, animations, and AJAX interactions by minimizing the discrepancies across browsers. A question tagged jQuery should be related to jQuery, so jQuery should be used by the code in question, and at least jQuery usage-related elements must be in the question. Consider also adding the JavaScript tag.
jquery
21
questions
0
votes
0
answers
13
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 ...
1
vote
2
answers
26
views
PHP HTML JS pagination
I have a page which feedbacks which looks like this (I just show 1 comment per page to see if the pagination works fine. Otherwise I'll show more):
The feedbacks come from a mysql database and are ...
0
votes
1
answer
9
views
How to focus or scroll to custom checkbox hidden element?
I have a custom card checkbox. I want to focus and scroll on form submit(form is being validated using jQuery validation) to this card checkbox if it(card checkbox) is required and not checked. How to ...
0
votes
0
answers
12
views
Data resolution are not changing when try to minimize the resolution
In Firefox browser, when opened in normal form all data moves towards right, while it appears correctly in Chrome and Edge. Also when I tried to minimize the resolution in edge or chrome all data ...
0
votes
1
answer
33
views
Display an Alert When User Session Expires in Laravel
I am using the Laravel framework and would like to create an alert when the session expires. I tried implementing a JavaScript code that checks if the user is logged in every three seconds as follows:
...
0
votes
0
answers
7
views
jquery-3.7.1.js:3784 jQuery.Deferred exception: Cannot read properties of undefined (reading '_fnCallbackReg')
I have a website biuld that uses jquery, Bootstrap and dataTables. The issue I have is the code generates an error:
jquery-3.7.1.js:3784 jQuery.Deferred exception: Cannot read properties of undefined (...
0
votes
0
answers
9
views
How to Close ISWebCombo Dropdown After Selecting a Value with AutoPostback Enabled?
I'm using an ISWebCombo dropdown control in my ASP.NET Web Forms application. The dropdown does not close automatically when I select a value. I need it to close after selection.
<ISWebCombo:...
-3
votes
0
answers
29
views
how can i correctly return array value to jquery [closed]
<?php
include ('config/dbcon.php');
if (isset($_GET['visa-id'])) {
$visa_id = $_GET['visa-id'];
$query = "SELECT document, preference FROM visa_document WHERE visa-id = '$visa-id'&...
0
votes
0
answers
23
views
Select2 ajax based results filtering based on regex on client and server side
I have implemented select2 in codeigniter for ajax based results and its working perfectly. But the challenge I am encountering is that the data in database is not sanitized e.g
E.C.G Machine
ECG ...
0
votes
0
answers
17
views
Image as background of data labels i.e as background color in chart.js [closed]
Is there any way to add image as background color i.e different image for background of each data label. If there is please let me know.
I tried doing it by putting images in an array and equating it ...
-1
votes
0
answers
16
views
Limit User from closing pop-up till it loads completely
I am trying to trigger some operations on page unload. My page contains a form with a submit button. On submitting the form it reloads the page (Basically a postback) and there are some operations ...
0
votes
2
answers
17
views
Kendo .showTooltip() for donut chart with multiple series
I am working with a jquery kendo chart configured as a donut that contains two series. I need to be able to programmatically highlight a section and show its tooltip in the second series, simulating ...
0
votes
0
answers
41
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",
...
-3
votes
1
answer
24
views
function calling in $(document).ready() vs $(document).ready(function() {})
I am using displayRows() function to add table body using document.ready. It was working fine for syntax : $(document).ready(function() as below
'$(document).ready(function() {
function displayRows(){...
0
votes
0
answers
15
views
Navbar HTML not working in sub-directories
I have this folder structure:
A
|_B
| |_C
| | |_D
I have my navbar.html, style.css, and main.js (for the navbar) in folder A.
This is the code block I use to add the navbar in my index.html, and it ...