Skip to content

Uncaught ReferenceError: cb is not defined #3

Description

@salmanmuneer007

Uncaught ReferenceError: cb is not defined
at HTMLButtonElement. (appAnalytics:3449)
at HTMLButtonElement.dispatch (jquery.min.js:3)
at HTMLButtonElement.r.handle (jquery.min.js:3)

Here is the code for btn reset and the error on line no 6

1 $("#btn-reset").click(function () {
2 $('.selectpicker').selectpicker('deselectAll');
3 $("#hidden-select-brand").val(0);
4 $("#hidden-select-store").val(0);
5 $("#hidden-select-region").val(0);
6 $("#hidden-select-app").val(0);
7 cb(moment().subtract(7, 'days'), moment());
8 });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions