Skip to main content

Questions tagged [jquery-3]

New features of jQuery 3.0 or changes in behaviour from jQuery 2.x to jQuery 3.x. Always use together with the [jquery] tag.

1 vote
4 answers
62 views

Check if textbox exist in table cell or not

Here is my code: var result = ''; var rows = $("#table_wf tbody tr input[type='checkbox']:checked").closest('tr'); for (var i = 0; i < rows.length; i++) { var row = rows[i] result += ...
6 votes
1 answer
2k views

jQuery's function $(function())’s execute order when the $(function()) called more one times

Code like this: $(window.document).ready(function () { window.alert('alert 1'); }); $(function () { window.alert('alert 2'); }); $(function () { window.alert('alert 3'); }); <!...
11 votes
3 answers
30k views

Bootstrap-Datetimepicker not working with the jQuery 3

Bootstrap-datetimepicker is not working with jQuery 3.1.1. I need to use the same jQuery library to run all the other dependent functions.
48 votes
3 answers
23k views

What is slim in file.slim.js

Excuse my ignorance but I just installed jQuery using npm and between the jQuery files there's a file called jquery.slim.js, what is slim? I know the min stands for minified but slim is new to me!. ...
0 votes
1 answer
66 views

Set attribute with an empty string

I'm trying to toggle the required attribute on fields using jQuery. On page load I add the required attribute to the relevant elements: $("[data-required]").attr("required", "&...
250 votes
5 answers
179k views

jquery 3.0 url.indexOf error

I am getting following error from jQuery once it has been updated to v3.0.0. jquery.js:9612 Uncaught TypeError: url.indexOf is not a function Any Idea why?
5 votes
2 answers
2k views

Zurb Foundation 5 and Jquery 3 incompatible?

I am trying to use Zurb Foundation 5 with JQuery 3.0.0.1 and seem to be having some compatibility issues. When I initialize Foundation $(document).foundation(); a javascript error is thrown Object ...
9 votes
1 answer
11k views

Async/Await with JQuery document READY

It works with document.addEventListener("DOMContentLoaded", async () => {}) but I am curious of making it work with JQuery. And also, I want with Async/Await, not promises because later I ...
0 votes
1 answer
295 views

jquery 3.0.0 upgrade broke html table functonality

We are upgrading jquery from 1.8.2 to 3.0.0 in a legacy project which have many plugin. We are using migrate plugin for ease of up-gradation ,it not showing any error in console except couple of ...
7 votes
2 answers
21k views

jQuery.fn.load() is deprecated?

jQuery.fn.load() is deprecated in jquery 3.X.X? I'm making a mess with documentation. mycode is: $("#myDiv").load('mypage.html'); How I can load mypage.html into #myDiv?
0 votes
2 answers
1k views

$.trim().val is not a function

I am working on updating jQuery version of our applications from jquery version 1.7 to 3.6 so, I am facing issue with 'trim' method. we have used trim method like in old jQuery version but it has ...
0 votes
1 answer
111 views

Hi, I am using Drupal 9 and on a request in network tab jQuery 3.5.1 sends another contextual render call. Any reason of this call?

I am using Drupal 9 and on a request in network tab jQuery 3.5.1 sends another contextual render call. Any reason of this call?
1 vote
1 answer
466 views

Is there an alternative to ImageMapster that works with jQuery 3.x?

I've been trying all afternoon to get ImageMapster to work... I kept getting the weirdest errors, and all the Google searching in the world didn't help... (Stuff like "Uncaught TypeError: i.size is ...
2 votes
3 answers
3k views

JQMIGRATE: easing function "jQuery.easing.swing" should use only first argument

I am upgrading my JQuery V1.9.1 to V3.0 and I am using the "jquery migrate 3.0". I have this warning in my Console : JQMIGRATE: easing function "jQuery.easing.swing" should use only first argument ...
0 votes
1 answer
561 views

Run inline jQuery after jQuery-library is fully loaded at the bottom of the document?

I have a big inline jQuery function that I want to trigger after the jQuery library is loaded at the bottom. Otherwise I'd get the "Uncaught ReferenceError". Therefore I wrapped the function ...

15 30 50 per page
1
2 3 4 5
7