Brian,
two things and a suggestion:

try

$( '#account_pass' ).val(hex_sha1( $( '#account_pass' ).val()));

$( '#account_pass_confirm' ).val(hex_sha1( $( '#account_pass_confirm'
).val()));

instead of

accform.account_pass.value = hex_sha1( accform.account_pass.value );
accform.account_pass_confirm.value = hex_sha1(
accform.account_pass_confirm.value );


Just before you do "return true;" alert($( '#account_pass' ).val()); just to
make sure it is converted.

also, I would suggest that you don't do

if(error) { // errors
$( '#account_pass' ).val("");
$( '#account_pass_confirm' ).val("");
return false;
}

that will make your end user frustrated, IMO

hope this helps

--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to