add the method through ajax verify what the user input whether right

add the method through ajax verify what the user input whether right
     how to use:
           ajax send messages:
                 verify_data = $('#id_captcha_1').val(), key = $('#id_captcha_0').val(),
           if the return result is "true"，right，or "false" then not true.