Skip to main content

Bug Tracker

Side navigation

#13792 closed bug (notabug)

Opened April 19, 2013 04:03PM UTC

Closed April 19, 2013 04:08PM UTC

jQuery Browser example throws error in jquery 1.9.1

Reported by: rich.kindle@wellsfargoadvisors.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

The example below, provided on the jQuery browser documentation page (http://api.jquery.com/jQuery.browser/) throws an error in release 1.9.1.

jQuery.each(jQuery.browser, function(i, val) {
  $("<div>" + i + " : <span>" + val + "</span>")
  .appendTo( document.body );
});

The error: "Uncaught TypeError: Cannot read property 'length' of undefined"

Attachments (0)
Change History (1)

Changed April 19, 2013 04:08PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed