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.

0
votes
0answers
7 views

I am trying to display the Facebook feed using lifestream jquery plug in. Is the server down?

I am working on to display the Facebook feed using lifestream jquery plugin. Is the Facebook plug in server down ? $.ajax({ url: 'https://facebooky.herokuapp.com/page/' + config.user, ...
-2
votes
0answers
8 views

SharePoint Jquery list counts by header

Looking for a way to add the aggregation for a list next to the title of a web part, the column count. I have collapsible web parts, 7 of them, each a custom list and an 8th list that is filtering ...
0
votes
1answer
19 views

Adding rest of URL before shortened links

I'm creating a Chrome extension for a browser game and one of the features I'd like to add is a floating "latest posts from the forum" window to the right of the game. I've gotten it displaying the ...
0
votes
1answer
19 views

How to parse svg data from url using JSON.parse() in JavaScript?

I simply want to parse some data of this svg from this url:http://colorillo.com/bxys.inline.svg When I view the source of the page. I would like to parse the points and stroke data and send it to ...
0
votes
1answer
11 views

How to unckeck checkboxes in another div when checkbox in one div is checked

I've 3 div elements namely part1 and part2 and part3 There are multiple checkboxes in each div If checkboxes in part1 and part2 are checked then part3 should be unchecked. (Not working) If ...
0
votes
0answers
8 views

Why .append() occurs multiple times despite I'm using .each()?

I'm using jQuery for displaying dynamic content into panels of my page automatically. Each panel has a progress bar associated with a % number. Note: this progress-bar is part of the panels I display....
2
votes
1answer
16 views

jQuery animate slide without redrawing content

A helpful SO answer taught me how to toggle an element by sliding it horizontally instead of vertically. $('div').animate({ width: 'toggle' }); However, a new problem arises when text is in the ...
2
votes
1answer
30 views

Opening a modal on click image (with multiple images using single modal)

I'm trying to create a photos page for my webpage and on click of the image I want to open a modal to view the image full screen (more of less). I found this tutorial on using a modal to enlarge an ...
0
votes
2answers
22 views

Submit a form with an a link does not work

I have this form <form method="POST" action="http://site.test/nodes/destroy" accept-charset="UTF-8" class="form-horizontal" role="form"><input name="_token" type="hidden" value="...
-1
votes
0answers
40 views

Why won't my SQL query execute when my button is clicked and then disabled?

Basically I want an SQL query to be executed when a like or dislike button is clicked on the same page. The button should also be disabled once its clicked so they can't keep repeating the query. The ...
0
votes
0answers
14 views

How can i access the text/ values in razor elements with jquery

I have a table that is generated by a foreach loop using razor and I want to be able to auto fill a modal when i click the edit button next to it but i can seem to access the values razor is putting ...
-3
votes
0answers
11 views

How can I find a string contain / in jquery

Jquery is a very popular scripting, I Am trying to solve my problems but I am not able please help me
0
votes
0answers
42 views

Dynamic form using Jquery

I am dynamically generating form using jquery, HTML: <div id="container"> <h2>Dynamic Form</h2> <div id="form2"></div> </div> Jquery: var arr = []; for (...
0
votes
0answers
9 views

Formatting the output of datatable when there are filters around it

I have a large data set (not extremely large). I am using the print selected option. The output formatting is extremely bad. How do I fix it? A bit of dataTable.js info My table also has a drop down ...
0
votes
0answers
14 views

JQuery script that selects and hides elements based on contained text isn't working for some users

I wrote a Chrome extension to select promoted pins (by looking for the text "Promoted") on Pinterest and hide them using CSS. Because new pins are added as you scroll, I've set the script to just ...
-1
votes
1answer
25 views

Simple jQuery “<script defer” not working

I'm trying to defer a very simple jQuery test, in order to optimize the speed of my website: This is the jQuery test: <html> <head> <title>Test Defer</title> <...
0
votes
0answers
11 views

Ajax / jQuery in Wordpress not running but no error on console

I have code on my page that contains a div. In this div, I want to put the results of a WooCommerce shortcode such as [products category="slug-of-category"] when I click a link on the same page. A ...
0
votes
2answers
26 views

Unable to write form data to sql database

So Ive this code which accepts input from user into a form and updates the SQL database when submit is clicked (without refreshing the page). The problem is that it doesn't seem to work and I cant ...
0
votes
1answer
22 views

Readmore doesn't work when I have an unorderlist

When I have an unordered list of paragraph text inside the container, the read more/readless does not hide any text before the UL list https://codepen.io/tickatop/pen/NZavXg Almost made me run ...
-3
votes
0answers
9 views

Improve Hilitor.js with a “jump to result”-Function

I'm using Hilitor.js (https://www.the-art-of-web.com/javascript/search-highlight/) as a text highlighting solution for my website. The only problem with this plugin is, that it didn't jump to the ...
0
votes
0answers
8 views

Possible to have a second control sidebar in AdminLTE?

Is it possible to implement a second control sidebar in AdminLTE? I have been crawling through the code and it appears that the default control sidebar is baked in. I have copied the HTML portion of ...
-2
votes
0answers
7 views

Error: Script terminated by timeout at: [email protected]

I implemented this awesome slider library, but my website keeps on forcing the browser to stop the script when I initialize the slider. I have tried it on FF, Chrome and Safari to no avail. Can ...
0
votes
0answers
5 views

JQuery Ajax returns either a ERR_SPDY_PROTOCOL_ERROR or ERR_CONNECTION_RESET error when uploading a large file

I am getting a ERR_SPDY_PROTOCOL_ERROR or ERR_CONNECTION_RESET error, depending on the image I select to upload using a JQuery Ajax function. The image data is converted to a Base64 string and these ...
-1
votes
1answer
14 views

popunder opening not working by body click

I am trying to add popunder in my site i have got a example on github Here is code : https://github.com/hpbuniat/jquery-popunder Testcase #3 (1 Popunder) <pre> window....
-1
votes
0answers
18 views

How to change ConvForm 'jquery' value to PHP variable

I need to change value given by user 'weight' into php $weight On chatbot it looks: https://ibb.co/dWq7KKW So chatbot knows and remember that value given by user 65, but how to transform it into $...
-2
votes
0answers
18 views

Perform curl request in JavaScript/jQuery? [duplicate]

I'd like to receive all our support tickets (from Zendesk) with jQuery. How can I perform the following action with jQuery? I am not very familiar with this topic, so I would be glad if anyone could ...
0
votes
2answers
38 views

How to emulate this jQuery behaviour with reactJS: add/ remove className from different divs

Hi Im a PSD to HTML Developer, I wanted to learn reactJS, I know jQuery, I want to know how to achieve the below jQuery add class remove class function in reactJS. There is no proper tutorial for ...
-4
votes
0answers
12 views

How to set two middle nodes in graph?

How can I set two middle nodes in the following map? There is just one middle node in the map, but I want to set two or more middle nodes which are connected to boundaries nodes. http://www....
1
vote
0answers
16 views

How to fix scroll problem when the modal dialog is show up?

when I show up my modal dialog popup (after a click on a button), the scroll-bar in the background scroll-down and idk why. I've already tried some css modification like this one $('body').css('...
0
votes
1answer
66 views

How can i calculate correctly the values of input using jQuery?

I can't get the results that i want to. After the user gives the numbers in the fields, i calculate using a formula and i stored the result in the totalValue jQuery(document).ready(function(){ ...
0
votes
1answer
16 views

DataTables rowGroup loses its class after filtering

I want to apply some styling to the groupped rows. So rowGroup: { dataSrc: 'team', className: 'rowGroup1' }, "initComplete": function (settings, json) { $(".rowGroup1")....
0
votes
3answers
38 views

Looping through a list of elemts to see if they are active

I have a list of elements (<li>), that have two particular <li> that share a class (.example) and I want to check that when any of this elements is active (having class .active) a pop-up ...
0
votes
0answers
18 views

Leave site message cannot be supressed on page navigation

My javascript makes a jquery ajax call to the server to save the page fields. On the ajax success event I am invoking a window.location call to navigate to another webpage. The browser always displays ...
0
votes
0answers
28 views

Click on button icon acts strange

I have a problem with clicking on the submit button, actually the icon on the button. It fires the submit event however when checking the server side post vars resulting from the ajax call the "...
0
votes
0answers
19 views

prevent function from recalling itself at the last statement of the function in java script

I've been learning javascript and jquery and I've encountered a problem when I'm trying to validate my form fields using a jquery function. The problem is its working fine the first two times it is ...
0
votes
0answers
6 views

Update jQuery version within Telerik MVC Extensions

I'm currently working on a project that has Telerik MVC Extensions within it. Recently, we were notified that our version of jQuery (version 1.7.1) was required to be updated to prevent a security ...
0
votes
1answer
35 views

If all divs have same style, remove element

I have multiple divs with the same name, I want to check if ALL divs have a style of display: none; then another div will hide too. Codepen:- https://codepen.io/scottYg55/pen/OexpgR ` jQuery("....
1
vote
0answers
30 views

Why does this script gives me a “synchronous XMLHttpRequest deprecated” error message?

So I am testing a script at the moment and publish it with surge. Locally it works 100% of the time but whenever after publishing I get this error/warning message: jquery-2.1.4.min.js [Deprecation]...
-4
votes
0answers
18 views

how can I see shorting data [on hold]

I am using this example https://www.jqueryscript.net/demo/Sortable-Draggable-Item-List-with-jQuery-jQuery-UI/ how can I see the shoring data. then I'll save this data with classic asp
-1
votes
0answers
9 views

How to get the children position (y axis) relative to the parent (with overflow)?

I want to know the positon on the Y axis of an item, relative to the parents top, but with the difficulty that the parent is a scrolled container. Here I have a fiddle. If we focus on this part: <...
0
votes
2answers
37 views

Replace start and end tag using JQuery

I need to parse my website and save new version to variable. For example i have code like this: <body> <div data-newname="test"></div> <div data-newname="test2"></div&...
-2
votes
0answers
16 views

ASP.NET appointment scheduling

I'm trying to update an old asp.net webforms scheduling application that I wrote over 10 years ago! It created a datagrid and populated it all on the fly. I've been looking around and can't find any ...
-1
votes
4answers
28 views

JQuery Loop Table and remove a href from a td

I have a table Structure. <table id="table"> <tr> <td><a href="/one">One</a></td> <td><a href="/two">Two</a></td> ...
-3
votes
0answers
17 views

Update table checkbox value in database Using mysql, php [on hold]

I'm trying to update a database field with 'APPROVE' , depending on whether checkbox is checked in a table
-3
votes
0answers
24 views

Need help to translate short JQuery code into vanilla JavaScript

Can you please help me translate this JQuery code into Vanilla JavaScript? The reason is that I'm not allowed to use JQuery. This is supposed to create an infinite scrolldown feature working with the ...
0
votes
1answer
22 views

Is there a way to select options page and press submit to transfer the info into the selected option page

I have a form with textboxes and options with choices of pages based on job’s types. I want that when the end user entering the information into the textbox selects the option of the page then press ...
0
votes
0answers
13 views

Restart Flickity slide show after pausing

Restart Flickity slider once a video has finished playing. I am trying to pause Flickity slider once the play button on a video has been pressed. I have achieved this in the below code. However, ...
0
votes
0answers
11 views

Problem eventClick by clicking on event the modal redirect to page undefined

When I pulse in the calendar event, the modal open 0.1 second and automatically redirects to an undefined page. I would like to know how I can fix it, to open the modal window and send me to an ...
0
votes
0answers
22 views

Query from another query ajax select input

i have a homework to build a movie seat rezervation situation where when i select movie X to query from him each date available on that movie selected and then when i select date to show some chairs, ...
-2
votes
0answers
16 views

How to fix “Uncaught SyntaxError: Unexpected end of input”

I have several icon on my page. I attached my click function with them so that it'll open and close on click. Everything is working fine. But I'm getting an error in the console: Uncaught ...