Skip to main content

Bug Tracker

Side navigation

#6435 closed bug (invalid)

Opened April 14, 2010 09:53AM UTC

Closed April 15, 2010 12:04AM UTC

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 April 14, 2010 09:53AM UTC.
Change History (1)

Changed April 15, 2010 12:04AM UTC by dmethvin comment:1

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