﻿$("span.helpful a").click(function() {
    $.ajax({
        type: "POST",
        url: "/faqs.ashx?id=" + $(this).parent().parent().attr('id') + "&answer=" + $(this).attr('class'),
        data: {},
        success: function(msg) {
            $(this).parent().html("Thank you for your input!");
        }
    });
    $(this).parent().html("Thank you for your input!");
});