
	// prepare the form when the DOM is ready
$(document).ready(function() {
    var options = {
        target:        '#tx-rdloginbox-pi1',   // target element(s) to be updated with server response
        // other available options:
        url:       '/plugins/login/www/validate.php' ,   // override for form's 'action' attribute
        type:      'post'        // 'get' or 'post', override for form's 'method' attribute
        //clearForm: 'true',        // clear all form fields after successful submit
        //resetForm: 'true'        // reset the form after successful submit
    };

    // bind to the form's submit event
    $('#formLoginIdOld').submit(function() {
        $(this).ajaxSubmit(options);
      
        return false;
    });
});



