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.
jquery-3
91
questions
-1
votes
4
answers
1k
views
jQuery 3.3.1 - row is not added to tbody of a table using append()
I am trying to dynamically add a row to a table on the html upon a click event with JQuery 3.3.1 and Bootstrap 4.
HTML:
<table id='tblAddedCallsign' class='table table-striped'>
</table>
...
1
vote
1
answer
316
views
How to set visibility and attr in jquery 3
After upgrading JQuery 1 to JQuery 3 in our application, some JQuery code stopped working.
I tried looking at https://api.jquery.com/visible-selector/ but could not get help
Previous Code
$("#...
1
vote
0
answers
47
views
text() returning entire object, instead of selected text
I upgraded the jquery library from 1.4.2 to 3.4.0 Have a drop down. .val() is returning the selected value as expected, but .text() is returning is entire object. Need to know how to get the displayed ...
0
votes
0
answers
1k
views
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 ...
0
votes
0
answers
81
views
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 ...
0
votes
1
answer
876
views
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 ...
0
votes
1
answer
1k
views
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 ...
2
votes
2
answers
18k
views
jquery 3.3.1 Uncaught TypeError: e.indexOf is not a function at w.fn.init.w.fn.load
<img class="my-foto" src="fashion-033-thumb.jpg" data-large="fashion-033.jpg">
<!-- Optional JavaScript -->
<!-- <script src="jquery-1.8.2.min.js"></script> -->
<...
0
votes
1
answer
31
views
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 ...
0
votes
0
answers
158
views
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:
<div class="form-group row">
<label class="col-md-3 col-form-label">Island ...
-1
votes
1
answer
248
views
Drupal 8 jQuery 3.3.1 Error: Syntax error, unrecognized expression: ul.nav > li > a error while applying the javascript
Newbee here.
(plz refer this link: Change Bootstrap Active nav-pills tab border bottom shape to solid underline
- i was trying to achieve this one)
I tried to apply the js file for underlining the ...
0
votes
1
answer
654
views
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 ...
2
votes
1
answer
98
views
jQuery click event on link won't get catched in vaniila JS
I am using the following Vanilla binding in order to simulate the jQuery delegation event:
document.addEventListener('click', function(e) {
console.log("some element was clicked");
console....
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
73
views
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 ...