Works fine. Thanks
On Jul 11, 9:32 pm, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
Is there a bug with formHash() and radio buttons? Or am I missing the
obvious. With this form
Change the hashForm to:
$.fn.formHash = function(inHash){
var bGetHash =
Chris,
Works fine. Thanks
I've already posted the fixed code:
http://jquery.com/plugins/project/field
(And also added some new functions.)
-Dan
Is there a bug with formHash() and radio buttons? Or am I missing the
obvious. With this form
form id=test name=test action=
input type=radio name=foo value=A onchange=alert($
(this.form).formHash()['foo']) A
input type=radio name=foo value=B onchange=alert($
(this.form).formHash()['foo']) B
I think formHash() doesn't do radio buttons correctly. My fix was to
replace
// if we're getting the values, get them now
if( bGetHash ){
stHash[n] = $(el)[defaults.useArray ? fieldArray :
getValue]();
in $.fn.formHash() with
// if we're getting the
Is there a bug with formHash() and radio buttons? Or am I missing the
obvious. With this form
Change the hashForm to:
$.fn.formHash = function(inHash){
var bGetHash = (arguments.length == 0);
// create a hash to return
var stHash = {};
Sounds awesome Dan!! Very promising.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: Tuesday, July 03, 2007 10:51 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Field Plug-in Update: Added $(form).formHash()
Congratulations!
2007/7/3, Andy Matthews [EMAIL PROTECTED]:
Sounds awesome Dan!! Very promising.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: Tuesday, July 03, 2007 10:51 AM
To: jquery-en@googlegroups.com
Subject:
7 matches
Mail list logo