jquery-1.8 Questions

3

I've noticed the $.resize() event of jQuery is fired on page load without any actual "resize" of the window depending on the browser. It is not only fired once, but even twice sometimes. (on load...
Aspia asked 28/10, 2013 at 13:12

7

Solved

It seems to me that Firefox ought to be better equipped to return the proper value when using $(window).height(). I am using jQuery 1.8.2. Is this a bug in that particular build? Every other brows...
Onstad asked 17/10, 2012 at 15:10

6

Solved

I have used outerHeight and outerWidth on many places. Now, after jQuery 1.8 was released I have met a lot of issues caused by object return instead of its size. For example: $('#stackoverflowdiv...
Insalubrious asked 23/8, 2012 at 14:20

3

The following code raises the error unsupported pseudo: hover on jQuery 1.8, while it works perfect on jQuery 1.7.2: if(!$(this).parent().find('ul').first().is(':hover')) { $(this).parent().paren...
Deettadeeyn asked 17/8, 2012 at 1:1

2

Solved

Since the jQuery .toggle event method is deprecated. What are we suppose to use to simulate this event (alternate clicks)?
Ursel asked 11/7, 2013 at 0:35

2

Solved

How to find event handlers on an object in jQuery 1.8+? var func = function(){ alert(1); }; var obj = $('#obj'); obj.on("click", func); // obj.data('events') is undefined
Cosmonaut asked 31/8, 2012 at 11:43

1

Solved

The following works in all browsers except IE 9.0.8. It loads a survey form within div with an ajax request. $('.tab-content').on('click', '.show_survey_form', function(e) { e.preventDefault() t...
Scrivings asked 21/5, 2013 at 18:43

2

Solved

Trying to do angular.element(stringWithHtmlStructure); causes Error: Syntax error, unrecognized expression: <div id="foo">bar</div> in jquery 1.9.1, however it works in jquery 1.8.3...
Luella asked 20/4, 2013 at 15:40

2

Solved

I just upgraded to 1.9.1 After some technical defiificulties all work except: var $newthumbs = $(' <div id=\"car-7\" class=\"thumbnail_car thumbnail span2\" data-sorting-top=\"2\" data-sorting-...
Vocalist asked 11/2, 2013 at 17:3

3

Solved

My web framework automatically updated my jQuery script to the current last version, the 1.9. Now all my: $(".myclass").live("click", function() {... don't work anymore. I mostly used it ...
Southwester asked 23/1, 2013 at 12:21
1

© 2022 - 2024 — McMap. All rights reserved.