// form.js
// New form descriptor and handlers
// using jquery.

$(document).ready(function() { 
	var options = { 
		success:    showResponse,
		clearForm: 'true'
	}; 
	// bind 'myForm' and provide a simple callback function 
    $('#askform').submit(function() { 
        $(this).ajaxSubmit(options); 
        return false; 
    }); 
    $('#askform2').submit(function() { 
        $(this).ajaxSubmit(options); 
        return false; 
    }); 

}); 


function showResponse(responseText, statusText)  { 
    alert(responseText); 
} 
