On Thu, Mar 26, 2009 at 12:45 AM, kevin wrote:
> I got the ajax form submit working, but on form validation failure I
> am passing back the form html within a json object and I re-stuff the
> div container with the form html in order to render out form errors.
>
> My problem is re-intializing th
ignore that, better:
function initSigninForm() {
var options = {
target: '#mainContent',
dataType: 'json',
beforeSubmit: showRequest,
success: showSignInResponse
}
$('#mainContent form').ajaxForm(options);
}
function showSignInResponse(xhr) {
if (xh
2 matches
Mail list logo