Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "use strict";
- (function (window, document, $) {
- $(function(){
- $("#haupt-inhalt")
- .find("a")
- .on("click", function (e) {
- console.log("Hallo");
- e.preventDefault();
- $.getJSON("./lib/data/artikel.json", function(data){
- console.log(Object.entries(data));
- var items = [];
- });
- });
- });
- }(window, document, jQuery));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement