I am creating a module where i want to get database value from ajax.
anybody have a solution of this problem or any example please help me...
can anyone give me a proper way for this.......

this is my `jquery` code-

```
jQuery('.type').bind('click', function() {
      var feedId = jQuery(this).attr('id');
      alert(feedId);
    jQuery.ajax({
        type: "POST",
        url: "modules/mod_feedback/ajax.php",
        data: {"Type":feedId},
        success: function(reviews){
            //jQuery(".show").html(response);
            alert(reviews);
        }
    });
  });

```

and this is my `ajax.php` code-

```
require_once( 'helper.php' ); 
$reviews = modfeedbackHelper::getFeedbackResultIdea();
echo $reviews;

```