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.

The third major release of the jQuery library ([jQuery]) has been worked on for a long time and contains some major changes. There is no official release yet, only an Alpha and a Beta version.

See

90 questions
0
votes
1 answer

AJAX function inside $.extend not working in jQuery 3

I need to extends jQuery (as a plugin). Problem is, $.ajax is not working inside the $.extend scope but outside the scope it is working fine. I am using jQuery 3.4.1 in my project. My code: (function($) { jQuery.extend({ mmw: function(options)…
M B Parvez
  • 808
  • 6
  • 16
0
votes
0 answers

Cannot read property 'ownerDocument' of undefined - while upgrading jquery

We are using jquery 1.11.1 four application and upgrading to jquery 3.3.1. For all the hyperlinks, on click facing "Cannot read property 'ownerDocument' of undefined". This is when I upgrade jquery UI to 1.12.1 and 1.12.0. But this works fine with…
user7
  • 515
  • 1
  • 7
  • 17
0
votes
0 answers

Problem with variable 0 and jQuery $.getJSON as param

I think I found bug In latest jQuery 3.3.1. My problem looks like this - when I try to send index as number 0 or string 0 using getJSON function I doesn't get any response. Trying other numbers or string and works perfectly. My js: var index =…
0
votes
1 answer

jQuery .on('load') works for one function, but not a different one

I'm starting from the ground up, developing a single page web app. I'm using some jQuery to create a loading screen, which is replaced with the web app after all the code is loaded. I'm trying to do this by only putting the code for the loading…
Julian Lachniet
  • 223
  • 4
  • 25
0
votes
1 answer

jQuery ajaxPrefilter fires after request is sent

According to the description of jQuery.ajaxPrefilter(), it's supposed to get fired before the request is sent to $.ajax(), but from what I'm seeing in my project, the server API endpoint gets called first, then the ajaxPrefilter function is called…
Shahin Dohan
  • 6,149
  • 3
  • 41
  • 58
0
votes
1 answer

Syntax issue when trying to rewrite a Jquery plugin from version 1.5 to version 3.3

I found this JQuery plugin that looks pretty good for my project. But sadly, it was written way back in 2010, and it can't work with JQuery 1.6+. As the source code isn't very long, I've then decided to rewrite it to make it works with JQuery 3.3.1…
kabrice
  • 1,475
  • 6
  • 27
  • 51
0
votes
0 answers

How to empty date range when radio button is selected

I've problem to empty date range when radio button is selected on modal bootstrap 4 This is the code HTML:
maitimo
  • 57
  • 6
0
votes
1 answer

BootstrapDailog is not working in Bootstrap4 with Jquery 3.3.1

I am using BootstrapDialog with Bootstrap4 and Jquery3.3.1 when i call BootstrapDialog.confirm then it will throw an error "Uncaught TypeError: Object.keys called on non-object" in older version of chrome .I also added Jquery-migrate3.0.0 but didn't…
0
votes
1 answer

jQuery 3 + Ajax + PHP send mail form not sending mail

I've been trying to re-write a jQuery + PHP send mail form but despite trying 3 methods it's still throwing a 500 Internal Server Error. I'm rewriting because I'm migrating the site to jQuery 3 and working on improving performance and standards…
Erland
  • 123
  • 10
0
votes
1 answer

Trouble with CSS in ASP.NET 4.6

I have a project I've been working on for the past couple of months. Everything has been working fine up till today. When I came I noticed that all my button sizes were the same. I like to use the developer tools in Chrome to help debug my…
NMeneses
  • 152
  • 6
  • 20
0
votes
3 answers

set entity attribute (selecting a radio button) with ajax in Symfony 2.5

I want to integrate Ajax in my Symfony project (Symfony 2.5 and jQuery 3). I want to update an attribute of an Entity when I select a radio button. For now, I can get the id of the row that I select. I have searched how to implement this, but I have…
Francisca GV
  • 379
  • 4
  • 11
0
votes
1 answer

bootstrap DropDown dont work

I created a navbar by DropDown but now copy it to my new project. but it doesn't work. Version of jquery and bootstrap is same. head is
0
votes
1 answer

Alternative to load() in jQuery 3 For Loading Bootstrap 4 Modal Remote Content

Loading another page/content (aka "remote" content) into a Bootstrap Modal has been the bane of many developer, and great solutions like this one work: $('body').on('click.modal.data-api', '[data-toggle="modal"]', function(){ …
Joyrex
  • 1,103
  • 14
  • 24
0
votes
1 answer

Bootstrap4, JQuery3 and FOS Comment Bundle => $.get(...).error is not a function

This is more a fix I found rather than a question. On a Symfony 3 project, I decided to upgrade to bootstrap 3 to 4. It implied using JQuery3 which is not fully compatible with the asynchronous comments display of Fos Comment Bundle 2.0.14 (and…
0
votes
1 answer

Twitter Bootstrap v4 and jQuery 3.2.1

I'm trying to migrate to the new version of bootstrap and jQuery. Dropdown in example not working and console outputs error: > Syntax error, unrecognized expression: # This is my code:
Daria
  • 347
  • 2
  • 5
  • 18