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.

0 votes
3 answers
296 views

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. ...
Francisca GV's user avatar
-2 votes
2 answers
110 views

Jquery 3.3.1 populate Dropdown from JSON object

Trying to run a smaple example to parse a JSON object to the dropdown. Using latest jquery-3.3.1.js and IE 11. Coud some one correct the below sample ? var test = { Cars: [{"CarType": "BMW","carID": "...
user3067524's user avatar
1 vote
1 answer
891 views

jquery serialize yields an empty array

i am trying to use jquery serialize to pass some values from a form in an ajax post request to my server but the serialize function returns an array full of nulls, the values aren't serialized. i do ...
user605505's user avatar
0 votes
1 answer
55 views

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 <script src="~/Scripts/bootstrap.min.js"></script>...
mahdi's user avatar
  • 258
2 votes
1 answer
75 views

Multi id selector

$('body').append($('#add-done-modal, #add-failed-modal', data)); This code should append the div with id add-done-modal and add-failed-modal to body. Those div are served in data among other stuff. I'...
Alexandre Parent's user avatar
0 votes
1 answer
965 views

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-...
Joyrex's user avatar
  • 1,103
0 votes
1 answer
229 views

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 ...
Fazhom Arnaud's user avatar
0 votes
1 answer
1k views

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's user avatar
  • 357
0 votes
1 answer
54 views

No Validation errors showing up using jquery 3x with formvalidator.net

I am using the latest version 2.2x of Jquery Plugin from formvalidator.net along with bootstrap 4. jsfiddle : https://jsfiddle.net/adarshmadrecha/ckpLsqod <body> <script> $.validate(); &...
Adarsh Madrecha's user avatar
0 votes
0 answers
36 views

How to delete a parent element [duplicate]

When a link is clicked it should delete its own parent. Here is the code I am using. Its not working. (function () { $(".delete-field").on("click", function () { var elementId = $(this)....
Luke101's user avatar
  • 64.6k
3 votes
1 answer
255 views

unlike jquery 1 and 2, jquery 3 ajax handler is executing newly added html+js only after completing handler code

I've made a jsbin to show the problem: http://jsbin.com/dexeqiz/edit?html,js,output having this html: <div id='log'></div> <div id='scripts'></div> and js: $.get('...', ...
Omu's user avatar
  • 70.8k
-1 votes
2 answers
286 views

jQuery 3.x .off() after .on()

I simply used .off() method after .on() method for .click() method. I'm really confused why click() event fires! $('span').on('click', function () { $('p').text("You Clicked!") }); $('span')....
SalmanShariati's user avatar
4 votes
0 answers
135 views

Debugging exceptions with jQuery 3.0

I recently upgraded from jQuery 2.4.1 to 3.2.1, and now I'm noticing that any exception that occurs during document ready handling (inside $(function() { ... })) instead of giving proper traceback and ...
riv's user avatar
  • 7,234
0 votes
1 answer
978 views

How to stop propagation in all controls in a modal

Since I found annoying the caching of a modal in angularjs and bootstrap, I found this article "$modal caching" to add a kind of version into the url of the modal and in that way avoid the caching of ...
Maximus Decimus's user avatar
0 votes
1 answer
33 views

Check existing selections in dropdownlist during record edit

I have some rows in a grid that are editable by a user. When the user clicks the edit button in a grid row, i'm displaying a multi-select dropdownlist ("ddlEditRegionList") with options to choose ...
StackTrace's user avatar
  • 9,360

15 30 50 per page
1 2
3
4 5
7