Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website freezes when adding qrcodes in for loop #121

Open
EliasKnudsen opened this issue Nov 14, 2018 · 0 comments
Open

Website freezes when adding qrcodes in for loop #121

EliasKnudsen opened this issue Nov 14, 2018 · 0 comments

Comments

@EliasKnudsen
Copy link

EliasKnudsen commented Nov 14, 2018

//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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant