jquery-1.7 Questions

22

Solved

I have an old website with JQuery 1.7 which works correctly till two days ago. Suddenly some of my buttons do not work anymore and, after clicking on them, I get this warning in the console: For...
Poltergeist asked 5/2, 2017 at 15:28

7

Solved

Trying to figure out how to use the Jquery .on() method with a specific selector that has multiple events associated with it. I was previously using the .live() method, but not quite sure how to ac...
Statecraft asked 22/12, 2011 at 18:14

5

Solved

i'm using asual jquery-address, tabs example and want to add datepicker to the "Extra" tab. If i'm just adding $(document).ready(function() { $( "#datepicker" ).datepicker(); }); it wont work....
Confederacy asked 12/11, 2011 at 14:27

4

Solved

Is it possible to reset multiple form fields in one line, or one hit, with jQuery. Note: I don't want to reset all form fields, only a specified whitelist (as below): // reset some form fields $(...
Imes asked 25/10, 2012 at 14:27

3

I use jQuery and draggable from jqueryUI. When I update jQuery from 1.6 to 1.7 clientX and pageX attributes disappeared from event variable. Here is an example: http://jsbin.com/ezulas/7/edit If ...
Linwoodlinz asked 20/12, 2011 at 23:18

2

Solved

Before I get flamed with references to manuals, I have been researching this for quite some time, and keep getting dead ends. Not even sure how to debug it properly. So if any references are cited,...
Dowden asked 31/5, 2012 at 19:44

8

Solved

I see there's a new method .on() in jQuery 1.7 that replaces the .live() in earlier versions. I'm interested to know the difference between them and what the benefits are of using this new method...
Amortizement asked 7/11, 2011 at 21:3

5

Solved

My application has dynamically added Dropdowns. The user can add as many as they need to. I was traditionally using jQuery's live() method to detect when one of these Dropdowns was change()ed: $...
Cart asked 5/11, 2011 at 16:16

2

Solved

I just want to fire an event when an input changes value using jQuery 1.7.2 and Backbone.js. Currently I have the following (which works) MyView: Backbone.View.extend({ initialize: function() { ...
Alexi asked 13/6, 2012 at 21:30

6

Solved

I was looking through new stuff added to jQuery 1.7 and I saw they now have jQuery.Callbacks() http://api.jquery.com/jQuery.Callbacks/. The documentation shows you how to use jQuery.callbacks() b...
Christianson asked 9/11, 2011 at 20:6

3

Solved

Is there any way in jQuery to check if any parent, grand-parent, great-grand-parent has a class. I have a markup structure that has left me doing this sort of thing in the code: $(elem).parent()....
Kerriekerrigan asked 13/6, 2013 at 10:31

2

Solved

I'm trying to do some conditional manipulation of elements that are dynamically added to some container on a page, but I'm missing an event. Say I have a container: <div id="container"><...
Lazar asked 7/3, 2012 at 22:41

3

Solved

jQuery 1.7's .on() and .off() methods are supposed to replace .live() and such. I tried it with a dynamic item: $(".myList").on('click', function(e){ alert('hello world'); }); This is not w...
Camion asked 6/11, 2011 at 19:6

3

Solved

Since version 1.7 live is deprecated. Following example is easy to make compatible with new on method: $('nav li, #sb-nav li, #help li').live('click', function () { // code... }); Using on: $...
Sylviasylviculture asked 11/12, 2011 at 4:47

2

Solved

I just found out that jQuery 1.7 introduced a new method, on(). With my brief study, I see it as a consolidated way to bind events, as opposed to decide which one of bind(), live(), and delegate() ...
Tomika asked 30/11, 2011 at 10:14

1

Solved

What am I doing wrong? Am I misunderstanding the problem or is it something else entirely? On my page I was using jQuery 1.6.4 from the Google CDN. This would, of course, generate the error: ev...
Projection asked 5/11, 2011 at 15:45

5

Solved

I don't understand why this method exists.... http://api.jquery.com/on/ It seems to me you'd always just do $(el).click() instead of $(el).on('click', function...
Trin asked 3/11, 2011 at 22:54
1

© 2022 - 2024 — McMap. All rights reserved.