Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$(".target0:eq(0)").append(swc1_incomplete);
$(".target0:eq(1)").append(swc2_incomplete);
$(".target0:eq(2)").append(swc3_incomplete);
$(".target0:eq(3)").append(swc4_incomplete);
$(".target2:eq(0)").append(swc1dnc_initial);
$(".target2:eq(1)").append(swc2dnc_initial);
$(".target2:eq(2)").append(swc3dnc_initial);
$(".target2:eq(3)").append(swc4dnc_initial);
// OTHER Panels
$(".target0:eq(4)").append(not_coming_panel);
$(".target1:eq(4)").append(wrong_number_panel);
$(".target2:eq(4)").append(not_in_service_panel);
$(".target3:eq(2)").append(do_not_call_panel);
// Completed Sweeps Calls
$(".target1:eq(0)").append(swc1c_initial);
$(".target1:eq(1)").append(swc2c_initial);
$(".target1:eq(2)").append(swc3c_initial);
$(".target1:eq(3)").append(swc4c_initial);
// Left a Message
$(".target3:eq(0)").append(swc3lm_initial);
$(".target3:eq(1)").append(swc4lm_initial);
// OTHER Panels
$(".target0:eq(4)").empty().append(not_coming_panel);
$(".target1:eq(4)").empty().append(wrong_number_panel);
$(".target2:eq(4)").empty().append(not_in_service_panel);
$(".target3:eq(2)").empty().append(do_not_call_panel);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment