1
$('.handleObject').on("change", function() {
        var id = $(this).val();
        var cid = $('#cid').val();
        $.ajax({
            type: 'POST',
            url: '/example/shirt/listing',
            data: {
                id: id,
                cid: cid
            },
            success: function(){
                  resetOptionValues('collarAround', collarAround); /**Getting error for this**/
            }
        });

});

closed as too broad by Ben Crook, Siarhey Uchukhlebau, Manoj Deswal, Murtuza Zabuawala, brentwpeterson Nov 7 '17 at 20:53

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • What the error say ? And where collarAround variable is defined ? – Kozame Nov 2 '17 at 14:56

Browse other questions tagged or ask your own question.