Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6435 closed bug (invalid)

jquery and json

Reported by: rhbalingen Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

Hi!

none of the scripts to get data from flickr, that did work fine with older version, do run with the newer versions. What's wrong?

for example this one:

<!DOCTYPE HTML> <html>

<head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <script src="./jquery-1.js"></script> <style> img { height: 100px; float: left; } html, body { border:0; margin:0; padding:0; } </style> </head>

<body> <div id="images"></div> <script> <!-- var flickr = "flickr.js"; window.onload = (function() { try {

$.getJSON(flickr, function(data) {

$.each(data.items, function(i,item) {

$("<img/>").attr("src", item.media.m).appendTo("#images"); if ( i == 3 ) return false;

});

});

} catch(e) {} }); </script> </body>

</html>

Attachments (1)

flickr.js (15.1 KB) - added by rhbalingen 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by rhbalingen

Attachment: flickr.js added

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

This would be best to ask on the forum; if there is a bug you can open a ticket with a more specific title.

http://forum.jquery.com

Note: See TracTickets for help on using tickets.