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
19 views

Need Help Transferring Data Between HTML Tables

I have two tables, one with a list of players for you to choose with a checkbox and another where the players are supposed to appear after clicking the checkbox. There is also a div in table2 that ...
0
votes
1answer
23 views

How to use offline Jquery?

I am trying to run Jquery without internet connection, and I have problem with the path to it. My project is in ASP.NET core. When I entered code like this:<script src="jquery-3.4.1.js"></...
0
votes
0answers
8 views

Need similar jquery datepicker plugin

I try a lot of jquery UI datepicker plugin but I can't find a similar plugin. Anyone help me to find a similar jquery UI plugin.
0
votes
0answers
6 views

Data from two checkbox fields mistakenly saving to the same field instead of two separate fields via jQuery for Sharepoint API

I have a Sharepoint 2016 Form with two checkbox lists that when I try to save which of the checkboxes are checked, they all save to the same one field in SharePoint 2016 instead of two different ...
0
votes
1answer
30 views

Increase the time on the progress bar

I have a website that does subtitle translation but before translating the subtitle progress bar finishes loading and shows a download button so my visitors save the incomplete subtitle. Is there any ...
0
votes
0answers
16 views

How to filter elements based on two seperate filters using jQuery

I have a blog where I have built a custom dropdown filter, and I have it working with one dropdown as you will see here: https://codepen.io/Canvasandcode/pen/zYYqQNx Here is a preview of the jQuery ...
2
votes
0answers
23 views

How can I fetch data with jquery .load, only when the target page's DOM is loaded?

I have this page where I have a ranking system. For the ranking to display I create some elements on a loop through javascript, according to the data that I fetch from the database. Then, I want the ...
0
votes
0answers
6 views

Prevent jQueryUI sortable triggering droppable events when inside a droppable container

I have a droppable container that also contains sortable elements inside it. The two components are unrelated but the sortable container must live inside the droppable container for the design to work....
0
votes
1answer
27 views

Changing event to on.click for searching terms

I have this snippet found below which highlights and jumps to the searched term. The current snippet searches after each keystroke that the user inputs which is putting too much stress on the server. ...
1
vote
0answers
24 views

Scroll-snapping breaks jQuery animated scroll

I have a scroll view with mandatory scroll-snapping: scroll-snap-type: y mandatory; I also have some buttons which provide shortcuts to the different elements of the scroll view. When a button is ...
-5
votes
0answers
13 views

How to make a line pointer with text above the image using SVG? [on hold]

Trying to find the plugin which helps me to create "stroke pointers", or "line tooltips", or "dimensions referencers" over images (tried to google all of this stuff with no luck), found only http://...
0
votes
0answers
13 views

How do I add a array value to existing jQuery cookie?

Im using https://github.com/carhartl/jquery-cookie to set cookies and now I need to set multiple values(array) in one cookie and then later be able to check if any of those values are equal to another ...
0
votes
0answers
13 views

Attempting to implement a live voting system in Express/EJS with mongodb/mongoose without having to reload the page

So I am building my first really big site using Express, EJS, and MongoDB/Mongoose. So far I have gotten almost everything is need finished for the core features with the exception on the like/dislike ...
-3
votes
0answers
20 views

How can we give background colour to checkbox? [on hold]

it will look like a button but it should work like a checkbox? please anyone can tell me how to do it? I need to event catch it event also with the help of jQuery Thanks in advance.
-1
votes
0answers
17 views

Execute ajax call one after other

I have a typing box. when the user types a text box ajax call happen. i just want to make ajax call in a synchronous fashon,when user type s then type so then soj so on. i dont want so results first ...
0
votes
0answers
42 views

how to call a javascript function before success

I'm doing bulk update of some entries that I have using spring boot and jquery ajax to save the entries, and I want reload the datatable before ajax hits success function jQuery save function: ...
-1
votes
0answers
12 views

$(window) not being recognised as a window

I am trying to write a function that recognises if a javascript variable is the window. I have researched some ways to find out if a variable is the window but none seem to be working. I have tried ...
0
votes
0answers
6 views

cascade parameter from jsp to servlet using jQuery

I have a jsp form with different type of fields; selects and radio buttons. I am trying to send the radio button and select to a servlet via a jQuery script. It was working fine if I sent the select ...
0
votes
1answer
10 views

Combining form onsubmit parameter with jquery submit event handler

I have a form that is being generated by legacy back-end code that, for a variety of reasons, I can't change. The form is straightforward HTML: <form action="#" id="theForm" onsubmit="return ...
0
votes
1answer
18 views

Jquery - Return only the format dd/MM/YY HH:mm ,instead of returning time zone values, month name and etc

When using this method, my time is returning, the values with month name, time zone and so on. It's returning as follows: newDate = Mon Sep 02 2019 12:00:00 GMT-0300 (Brasilia Standard Time) How ...
0
votes
0answers
8 views

How to show data in Datatables in VueJs?

Data is appending next to the datatable, not inside. I am fetching data (array of records) from an API in actions of vuex and returning state (array) from getters to the components where datatables ...
0
votes
0answers
21 views

Adding options to a <select> using jQuery only once

actually now i can add to my select some options, the question right now, how can i add the option just only once here is my code right now: <script> $(document).ready(function(){ ...
0
votes
1answer
23 views

Datatable send current page number

I've been try to send current page number to server by overwrite a variable called pgno here is my code : function fill_datatable(status='',pgno='') { var pgno = 0; table = $('....
0
votes
0answers
8 views

jQuery/magnificpopup issue in iphone 7 safari

Just wondering if jQuery or Magnificpopup have some issue on iphone 7 safari. This piece of code jQuery.magnificPopup.open({ is working fine but when it comes to iphone 7 safari, it gives the ...
0
votes
0answers
13 views

How to hide items in a ul using a context menu?

I am creating a list from columns in SQL, I have a context menu that has hide and quit. I want to be able to hide a particular item in an ul. I figured the best way would be to add ID to each item. ...
0
votes
2answers
25 views

Open Appended URL in New Tab

I am working on a hub that allows me to put in a ticket number which is then appended to a URL so it opens directly in a ticketing system. I have this working. The final step is to have the ticketing ...
-3
votes
0answers
24 views

When mouse over open a popup , also hover section o change color [on hold]

I want to make an interactive map. I have tried many things but without result. <img class="alignnone size-full wp-image-844" src="https://acagency.it/wp-content/uploads/2019/10/Harta-01....
0
votes
0answers
20 views

How to delete specific child in DataTable row?

I am working with jQuery DataTables and am in a situation where I have a row with multiple children in it, and want to delete only a select few, which I know the index of. Is there any way I can do ...
0
votes
0answers
14 views

Why does my code keep sending ajax calls using the smartwizard plugin?

I have a plugin that creates a form on my website which has steps to it. This is my code in which I am making the call: $(document).ready(function(){ $('#smartwizard').smartWizard({ lang: {...
0
votes
0answers
26 views

how to make an ajax request keep running even after I open different page

I am trying to request a php file(with python call inside the php file) using ajax call when I click a button in a form. As my php file takes too much time to execute i am opening a different page and ...
0
votes
0answers
30 views

Construct nested escaped JSON string for JSON.parse() recursive retreival

The server returns me a JSON string like this: {"payload":{"data":"{\"notification_type\":\"{\"type1\":\"{\"type2\":\"type2 value\"}\"}\"}"}} This string, as I understand, cannot be parsed with JSON....
0
votes
1answer
12 views

Bootbox.js modal disabled scripts

I have a problem with Tag It! plugin. I'd like to open a bootbox modal with two text areas - one for Notes and one for tagging persons. The thing is that it is working fine on page (finally I'll hide `...
0
votes
2answers
25 views

jQuery - how to show dropdown selected values through textbox in dynamic table

I created dynamic table and i want to show the selected dropdown values in textbox, i tried many ways using javascripts and jQuery but its not working in my dynamic table.. I just want to pass the ...
0
votes
1answer
36 views

Unable to remove one element from html in string [duplicate]

I have problem to remove element by id. Its not removed. var html = '<div id="cke_column_description[-2]" class="cke_1 cke cke_reset cke_chrome cke_editor_column_description[-2] cke_ltr ...
-3
votes
0answers
32 views

PHP Autocomplete from Database - Multiple inputs [on hold]

I have built a PHP CRUD to record staff accidents in the workplace which is working well. The create.php has several input fields for personal data such as name, address, telephone, occupation etc and ...
0
votes
2answers
30 views

Fill button text to input field

I like to fill a text from a button into an input-field. But I don't know why I can't find the input field. $(document).ready(function() { $(".delivervalue").click( function() { ...
0
votes
0answers
3 views

Getting Jquery-UI slider value while clicking on slider-track?

I tried to get the value of jquery-ui slider on click of slider track. But I couldn't able to get the value of slider. I'm able to get the value on slide but I couldn't able to get it on click. <...
0
votes
1answer
16 views

jQuery animated number counter from zero to value - counter shows wrong value when a value is hundreds of thousands

I have tried to animate the numbers with the help of this URL: jQuery animated number counter from zero to value and followed this code: $('.count').each(function () { $(this).prop('Counter',0)....
2
votes
2answers
44 views

How to get value of unchecked checkboxes on click?

I want to get value of single checkbox when it is checked and unchecked.. I am currently working on codeigniter FW. I am getting the value of checkbox when clicked on it, but i am not able to get ...
0
votes
1answer
33 views

jQuery nested loop

Current situation: if (data && Array.isArray(data.results)) { data.results.forEach(item => { table.append (`<tbody class="js-table-sections-header table-active"&...
0
votes
0answers
17 views

Bootstrap Model form loading the complete Home\Index again inside after MVC post

so my bootstrap model-form is loaded like this in razor : using (Ajax.BeginForm("Create", "Home", new AjaxOptions() { HttpMethod = "POST", UpdateTargetId = "frmRes" })) { ...
1
vote
2answers
56 views

How to change JQuery button hover over text color

I am using following css to have different color when hover over. ".ui-button-text" is working fine and shows the right color when the modal shows up but button hover over is not working. .ui-button-...
1
vote
5answers
33 views

change event for input type number when input new number

I am trying to get the value of the input than check whether it has changed, by default, the value is 1. When changed,inputted or incremented using the arrow keys, it will trigger the change listener. ...
0
votes
1answer
16 views

I want WordPress gravity form upload file validation before submission

Actually I want a pre-validation that when a user uploads a wrong file extension rather than a pdf file in WordPress gravity form than before submitting the form it should show the error that the file ...
-1
votes
0answers
4 views

Search-Bar as part of Navigation-Bar

I have a search function insite navigation-bar running with jQuery. When i type in a letter, the search-bar are hidden. pls. see example code: https://codepen.io/TheBob1/pen/LYYNgKO What i need to ...
3
votes
2answers
49 views

How to remove the parent div if has only an h3 element and empty content divs

I have a div with a class .tour_head1 and there's always an h3 element and many div with content. I want to check if the tour_head1 has only h3 element and divs with no content, then remove the whole ...
1
vote
0answers
47 views

get return ajax value in server side

i have a table fetching data in ajax. so i want get some value return values. mainly i need check box checked count in server side data. i have try many more time. sorry i have no idea how to explain ...
0
votes
1answer
37 views

My hamburger drop-down menu appears behind my slider in the 'How it works' page on Mobile and Pagination is mixed-up with text

If you visit the swiper.js site under Demos, I have tried to replicate slider number 7 with the heading 'Custom Pagination' Refer: Swiper. Everything seems to work fine with my slider save for 2 ...
0
votes
1answer
30 views

Ajax filter posts by Category

I have 2 parent categories (country, fruit) and get the children of them. Now I want to filter them. I followed this post: https://rudrastyh.com/wordpress/ajax-post-filters.html But when I click ...
0
votes
1answer
23 views

Bootstrap datepicker inside table cell not showing properly

I am using the bootstrap datepicker and it is rendering fine except in table cells, like you can see in the picture below. Does anyone know how this can be fixed? <td> <div class="input-...