Application Showcase

Filling DOM elements with Javascript based on custom tags

http://pad.human.cornell.edu/Unlisted/api_json.html

 

Please take a look at the source.

 

What I tried to do is creating a web page using empty DOM elements and fill them later with Javascript and API calls. The Javascript loops through all elements with class='acs5' and I use the HTML5 data-* custom tags to define what value I would like to see in that element. The browser might throw a warning because I violate same-origin security check. I don't have a lot of experience with callback function and was not able to implement something similar with JSONP.

Tags

Voting

1 vote
1 up votes
0 down votes
Active
Idea No. 240