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**/
            }
        });

});
| improve this 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.