jeromeetienne / jquery-qrcode

qrcode generation standalone (doesn't depend on external services)
http://blog.jetienne.com/blog/2011/04/07/jquery-qrcode/
MIT License
4.85k stars 2.5k forks source link

Website freezes when adding qrcodes in for loop #121

Open EliasKnudsen opened 5 years ago

EliasKnudsen commented 5 years ago
//AJAX success:
success: function(response) {
    var overall_result = JSON.parse(response);
    //Parsing json
    var result = overall_result.result;

    for(var f = 0; f < result.length; f++){
        jQuery('#qrcode').qrcode("this plugin is great");
    }

}

No errors are being catched in the console, the browser just freezes. What am I doing wrong here?