size()
was deprecated years ago and removed in version 3 … use length
instead
if (e.target.id == "wrapper" || $(e.target).parents("#wrapper").length)
All you had to do was look this up in the size() docs
to find this out
More Related Contents:
- Manually adding / loading jQuery with PrimeFaces results in Uncaught TypeErrors
- Why is my jQuery :not() selector not working in CSS?
- Is $(document).ready necessary?
- Getting jQuery to recognise .change() in IE
- Get name of time zone
- Add comma to numbers every three digits
- Play/pause HTML 5 video using JQuery
- What is the easiest way to order a / in jQuery?
- How do I hide the tooltip on hover from the title tag when using FancyBox 2.0?
- Controlling the value of ‘this’ in a jQuery event
- Show/Hide Multiple Divs with Jquery
- jQuery CSS – Write into the -tag
- ASP.net MVC 3 jQuery Validation; Disable Unobtrusive OnKeyUp?
- What are deferred objects?
- Get the value of a dropdown in jQuery
- Django JQuery Ajax File Upload
- JQuery sortable lists and fixed/locked items
- jQuery – get AJAX response headers
- Changing the action of a form with JavaScript/jQuery
- What do dot and hash symbols mean in JQuery?
- jQuery ui datepicker conflict with bootstrap datepicker
- Possible to get Excanvas to work in IE 8?
- JQuery: detect change in input field [duplicate]
- How to programmatically trigger the click on a link using jQuery?
- How to make div follow scrolling smoothly with jQuery?
- How to hide all elements except one using jquery?
- Manually set unobtrusive validation error on a textbox
- How to submit form without refreshing page using Django, Ajax, jQuery?
- JQGrid: Loading data into the footer row
- JQuery Bootstrap Multiselect plugin – Set a value as selected in the multiselect dropdown