We changed our privacy policy. Read more.

Questions tagged [jquery]

jQuery is a JavaScript library, consider also adding the JavaScript tag. 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 need to be in the question.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

I am not able to submit the form and put the data in Database in a django website

I am fairly new to jquerry, infact just started learning and using it. I went through some of the questions but none talks about the issue I am facing so here it goes. I have created a website in ...
0
votes
0answers
9 views

How to set time to 00 format in xdsoft's datetimepicker?

I am Using https://xdsoft.net/jqplugins/datetimepicker/ for date and time picker but there is an issue in their site that time picker time is not taking 00:00 format but its taking every time on ...
0
votes
1answer
25 views

Reading multiple files using file object

I am uploading multiple file(s) using a file reader My aim is to get the base64 data of every files as array and output to console. But my code is always displaying empty array due to async How can I ...
0
votes
0answers
4 views

Text on top of d3 vertical stacked bar chart

I'm trying to build a combo chart, i.e. vertical stack bar and a line chart together. I have built the graph but i want the value of each bar on top of the bar. I found certain code for text on top of ...
0
votes
0answers
8 views

Multiselect - prohibit or ignore clicking on div when I'm not in edit mode

My project uses jquery multiselect widget to assign user roles. There are 2 columns - a list of all roles and a list of the roles of a particular user. There is one select with a list of all roles (...
-1
votes
3answers
46 views

Why the icon is not displayed in the web page?

I have a HTML like the below, <div id ="div1"> <a class="dropdown-item" href="#" id="success"> <i class="" id="...
0
votes
1answer
16 views

How to active the respective image on clicking on the accordion?

I have three accordions on the left side and three images on the right side (It will increase in the future). What I am doing is, on the page load first accordion is always open and the first image ...
0
votes
0answers
11 views

How add paste event support to magicsuggest?

I want to add support for the paste event in magicsuggest. I added this code to magicsuggest.js: ms.container.on('paste', $.proxy(handlers._onPaste, this)); ... _onPaste: function (e) { ...
0
votes
1answer
30 views

In a <table> needs to <td> functionality to work and not <td> redirect URL

I am facing a issue in a <table> I have a table row which having a Redirect URL and only one table data <td> having different functionality <table> <thead> <th&...
0
votes
0answers
9 views

jQuery slideToggle doesn't look as good within an SPFx web part

I have a .html page where I use slideToggle and it works well. I have tried to get slideToggle working in an SPFx web part and it works (it shows and hides) but it looks poor (it doesn't slide it ...
0
votes
0answers
12 views

responsiveslides only shows my first image with https, worked OK with http

I've been using responsiveslides for some years, no problem until the site switched to https, now it only shows my first image and does not slide. are there instructions to change? Any idea? Thank you!...
0
votes
0answers
14 views

Issue with highCharts range selector date format?

I am trying to use the rangefilter with the HighCharts. But getting improper start and end date. Seems like it is not able to recognize my date. On x-axis, I have categorical values of unique dates. ...
0
votes
2answers
17 views

How can select the tag name with the postion of mouse?

I can get selected the html tag with the position of mouse ? when i move with the mouse i can update for exmpel the border of tag in the position of mose .
0
votes
1answer
11 views

jquery validation addmethod with dynamic error message

I am using jquery.validation to validate a date of birth if entered. I am using the Add method but want to customise the error message depending on what is wrong with the value entered. I am using ...
-1
votes
0answers
7 views

How can I initialize JS Plugins in next js?

Basically, I'm trying to convert an HTML template into a Nextjs template. But here I getting stuck. Is it too bad to use jquery with react or nextjs project? How can I convert this for my NextJs ...
0
votes
0answers
12 views

Selecting data by two select list box using datatables in PHP and AJAX

I am working on datatabels table plugin for jquery using PHP. I can fetch data by one select items like - I have a table - title , category , papaer_cat I can find data where category using one select ...
0
votes
2answers
24 views

How to convert all datatable records in JSON?

I want to convert datatable records in JSON. However, I'm done with the code but that code is converting only 10 records (1st page of datatable). I've total of 20 records (2 pages). How to achieve ...
0
votes
1answer
14 views

how to remove hover property on multi check box filter in kendo ui

while hovering on multi check box its showing message like "ProductName Filter Column Settings" https://demos.telerik.com/kendo-ui/grid/filter-multi-checkboxes. how to remove this message or ...
1
vote
1answer
20 views

How to try out cypress selectors API to check what object they return?

I want to try some element selection using cypress API. So I ran my tests and clicked on selector playground ⊕ button (numbered 1) and then clicked arrow button (numbered 2) to select the desired ...
0
votes
0answers
10 views

upload a video and change src attr of an existing video

upload a video - works fine the new video is in a target folder and it plays well using its url problem - I want to change the src of an existing video (#bvid) to the new uploaded video and getting ...
0
votes
1answer
11 views

Jquery animation: fade in element, fade out, then stop

I'm new to Jquery animation. I have two elements to fade in, the sequence needs to be like this: On load, element 1 visible. Fade out after 5 seconds. Fade in element 2, stop (element 2 remains ...
-1
votes
0answers
17 views

How to do drag and drop html elements compatible with desktop and mobile devices?

I need your help. I'm trying to build an app with javascript and have the drag and drop functionality. I use jQuery UI. For the drag and drop I want to have the same functionality on mobile devices. ...
-1
votes
1answer
24 views

How to get parameter from URL to my frontend page

I am working on this project where I need to access the data I have sent to URL. I have tried many other things, including this one too. It just returns null. Is there any other way I can have access ...
0
votes
0answers
8 views

how to change Apex chart type depending upon selected value in dropdown

I am using apex chart, now I want to change apex char depending upon the selected field in my dropdown. I created one , but chart does not change in one go. Code is like , onchange event of dropdown ...
0
votes
0answers
9 views

How to disable ACF repeater input by row?

I have a function where is payload successful purchases, my idea is to disable that input (or ACF repeater field) by row as index parameter? How to disable that? function buy(...rest parameters, $...
0
votes
0answers
21 views

how to attach onclick function on every list item which is created through Javascript Dynamically | Vanilla Javascript [duplicate]

I am trying to create an animated side nav bar through vanilla javascript. the problem I am facing is to attach an on click function on every li element and I have already tried addEventListener but ...
-2
votes
0answers
22 views

how to select only P elements text in javascript or jquery [duplicate]

i just want to select/get the P element text ($1,074,251,311.00) but when i loop over the elements it return inner text of <strong> element also.. how to get only P element text in js/jquery ...
-1
votes
2answers
43 views

How to select closest attribute with custom attribute name in jQuery

Hi Please see my below html code. <tr> .....</tr> <tr> <td data-colname="ctv">hello</td> <td class="my_t">Yes</td> ...
1
vote
1answer
32 views

Excel-like filter for HTML tables with JavaScript

I have the code below which filters the values within HTML table based on selected values from a dropdown. It's supposed to work pretty much like the filters in Excel. $(document).ready(function() ...
0
votes
0answers
20 views

How to get the elements target when open with context-menu?

I have contextMenu items, where it removes para when selected the item, but some reason i'm not able to get the element's target but i'm getting the context-menu's this is the function it gets called ...
0
votes
1answer
42 views

Add active class to menu li on scrolling through section in div

In the below set of code basd on selecting the .help-menu elements on left .help-descr div navigated to particular section . Similarly on scrolling the .help-descr div I want to add active class ...
0
votes
1answer
27 views

Why is this html append structured differently than the array structure

I have two for loops which builds my html structure. The outer loop builds each row '<div class="row">' before the code jumps into the nested for loop which builds each column in the ...
0
votes
2answers
33 views

How to get data through asp.net core api call using html and jquery?

I want to post data in the Mssql Database using Asp.netCore Api and Html Form. I have Added This script to post data.but All the values are coming null Jquery script in Html File <script type="...
1
vote
2answers
36 views

How can I get first letter of each word in Jquery?

I have multiple Names & I want to get first letter or each word. How can I do this? My Code:- $('.testimonial-box').each(function(){ let clientNameFirstLetter = $(this).find('.client-name')...
1
vote
1answer
22 views

i want to checked the checkbox by matching the value from mongo database

this code is written in the handlebars i amd using mongodb with nodejs and i want to edit the admin profile in which i need the values checkbox to be selected which we will get from the database need ...
0
votes
0answers
7 views

Eliminate render-blocking resources - jQuery file

Google page speed test suggesting to load jQuery file as async, but when we load it in asyc manner getting $ not defined issue. Can anyone suggest how to resolve the issue? Thanks,
-4
votes
0answers
26 views

show null when my datetime is not Continuous [closed]

there is no Null Data in api response and my datetime is timespan. but 'datetime' is not Continuous ... my datetime example: [2021-01-01,2021-01-02,2021-01-03,2021-01-06,2021-01-07] i have gap between ...
1
vote
0answers
13 views

Missing "show entries" when filter is active datatable jQuery

I working with datatables, and i have a lot functions, one of them is filtering, this is standart filtering using datatable library. But when i activate filter, input with show entries option are ...
1
vote
1answer
17 views

Textarea conditioning appears based on checkbox using javascript

I'm making a checklist for some reason. If the Others checklist is clicked, a textarea will appear and when the other reason is checked, the textarea will disappear (add class hidden). Currently, when ...
0
votes
1answer
31 views

find individual input value in different four div's

if I have four div without class, id or name, and today I want to calculate individual input value, so how can I do? <div id="showShoppingCart">   <div>     ...     <input ...
0
votes
0answers
18 views

OWL carousel responsive not working on mobile

$('.three-column-carousel').owlCarousel({ loop: true, margin: 30, nav: false, smartSpeed: 3000, autoplay: true, navText: ['<span class="flaticon-back&...
0
votes
1answer
21 views

How to point wordpress website main logo link to another URL?

I'm using the Flatsome theme and I want the website main logo to point to another link not the homepage, can somebody help me please? Here is my header.php Thank you <!DOCTYPE html> <!--[if ...
0
votes
0answers
6 views

How to maximize and minimize window in electron without the remote module

I am trying to create an electron app but I cant understand how to use the remote module by require('@electron/remote/'); I am able to close the window by window.close(); But I cant understand how to ...
1
vote
0answers
18 views

Add Loader until stl image load PHP

I am using Stl Viewer Javascript Plugin to display 3D image in my Website. The size of STL image is around 50MB. So, it is taking much time to load. So is it feasible to add loader image until the stl ...
1
vote
0answers
16 views

DataTables warning: table id={id} - Cannot reinitialise DataTable

I am using datatables and I am trying to add 'show/hide columns dynamically', from https://datatables.net/examples/api/show_hide.html In my web page I already have the code this bit of code: <...
-1
votes
0answers
23 views

How to create a scroll up & down without the scroll bar right? [closed]

Hi hope everyone doing great :D Image as you see on the picture i want to scroll the div with btns not the scroll bar right So can someone help me doing that ? Thank you so much!
-1
votes
1answer
19 views

I have tried to get random variations from the tags but it doesn’t work

I try to mimic the prototype https://codepen.io/FlorinPop17/pen/zYxvJmP?editors=0011 But my work loops strangely , it can't run all tags and when I click the start button it only flash the final one. ...
1
vote
0answers
9 views

Why first line `import jQuery from "../core.js";` is included in `load.js` even though it is already included in `jquery.js`

I was just going through jQuery's source code. But then I came across the following file: load.js import jQuery from "../core.js"; import stripAndCollapse from "../core/stripAndCollapse....
0
votes
2answers
23 views

Code to change favicon not erroring, but not changing bookmarklet (Jquery)

I am working on a bookmarklet (currently just javascript code) that will prompt the user, asking for a domain name, and whatever domain name they enter will change the favicon of the current site they ...
0
votes
0answers
26 views

Using Javascript how to store previous search history in browser

I have implemented autocomplete feature using JQuery, but now I wanted to store last 20 searched per inputfield in browser. So, if user when focuses the suggestion will be fetched from the browser. If ...

1
2 3 4 5
20427