Ajax not goin to url method :  **this is the code for ajax request it always goes to error function**  
**the url is correct all data is there but it still goes to the error  it doesn't posting value**  

    $(".quote-update-notify").click(function () {
        //                    e.preventDefault();
        //                    alert('hi');
                            var id = $(this).attr('data-id');
        //                    alert(id);
                            $.ajax({
                                type: "POST",
                                url: "<?php echo base_url(); ?>Admin/qoute_Notification",
        //                       
        //                        dataType: 'json',
                                data: {"id": id},
                                success: function () {
                                    alert('success');
                                },
                                error: function () {
                                    alert('error while requeting');
        //                            console.log();
                                }
                            });
        //                    e.preventDefault();
        //                    return false;
                        });