Re: [jQuery] Form Plugin curiosity

2007-02-16 Thread Brian Ronk
I've got an example page, basically a watered down version of what I'm working on. I'm actually using his sha1 implementation. Just put in some information (nothing is actually saved, the script just displays what you inputed). Oh, and the email address isn't really checked, you can put in

Re: [jQuery] Form Plugin curiosity

2007-02-16 Thread Benjamin Sterling
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 );

Re: [jQuery] Form Plugin curiosity

2007-02-16 Thread Brian Ronk
Ok, I made those changes. I actually was doing the sha1 that way before, but changed it to see if that was the problem. If you take a look at it now, I think you'll laugh. Basically, the alert shows the correct info (the sha1'd password), but what is displayed is still plain text. I'm

Re: [jQuery] Form Plugin curiosity

2007-02-16 Thread Mike Alsup
plain text. I'm wondering if this is related to the issue with the plugin sending info twice (one of the other threads going around right now). The plugin does not send data twice. The other thread was about returned scripts being evaluated twice. Your code is encrypting the data that the

[jQuery] Form Plugin curiosity

2007-02-15 Thread Brian Ronk
I'm new to jQuery, and found the Forms plugin. So far it seems to be working fine, but I ran into 2 issues earlier. First, it was working, but it was acting like a normal form, not an ajax form. I had some errors in my script (used the wrong id in checking a password), and when I changed that,

Re: [jQuery] Form Plugin curiosity

2007-02-15 Thread Benjamin Sterling
Are you using something like http://pajhome.org.uk/crypt/md5/ for your encryption? are you doing something like: var options = { beforeSubmit: function(formArray, jqForm) { encryptform(); // just example }}; Maybe an example page? -- Benjamin Sterling http://www.KenzoMedia.com