Rick Faircloth schrieb:
All formatting should be done via external stylesheets. The plugin lets
you customize the class used to mark them as error labels, but that's
it.
What is the class used to mark them as 'error labels'?
Is that a class that I assign to them for the stylesheets to
.
Subject: Re: [jQuery] Need some guidance...
Rick Faircloth schrieb:
All formatting should be done via external stylesheets. The plugin lets
you customize the class used to mark them as error labels, but that's
it.
What is the class used to mark them as 'error labels'?
Is that a class that I
to this solution you can think of?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jörn Zaefferer
Sent: Friday, March 09, 2007 1:23 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Need some guidance...
I don't quite see the problem:
label.error { styles
? Can the
label tag
take CSS formatting in-line?
Thanks for all your help with this...
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jörn Zaefferer
Sent: Tuesday, March 06, 2007 1:48 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Need some guidance
Rick Faircloth schrieb:
Well, Jorn... I finally figured out the problem...
I hadn't assigned an id's to my form fields (Principal, Interest, Years),
so I couldn't see the conflict.
However, it looks like id's were automatically being assigned to my
form fields when published... they were
5:23 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Need some guidance...
Rick Faircloth schrieb:
Well, Jorn... I finally figured out the problem...
I hadn't assigned an id's to my form fields (Principal, Interest, Years),
so I couldn't see the conflict.
However, it looks like id's were
Rick Faircloth schrieb:
Hmmm… can’t get any reaction from the validation code.
Here’s my script and html… what’s wrong with it?
(I’ve included my show/hide script and my CalculateMortgage
script in case there’s a conflict)
The Mortgage Calculation still runs fine, but when I submit the
Thanks, Daemach...I'll have a look at it!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Sunday, March 04, 2007 11:09 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Need some guidance...
http://bassistance.de/jquery-plugins/jquery
Of Rick Faircloth
Sent: Monday, March 05, 2007 8:46 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Need some guidance...
Thanks, Daemach...I'll have a look at it!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Sunday, March 04, 2007
Rick Faircloth schrieb:
Principal: Validate for entry / Validate that entry is numerical after $ ,
. are all stripped from entry.
Interest: Validate for entry / Validate that entry is numerical
Years: Validate for entry / Validate that entry is numerical
There are so many examples on
Thanks for the guidance, Chris. I'll have a look at
the code and see what I can do!
Rick
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Christopher Jordan
Sent: Monday, March 05, 2007 4:41 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Need some guidance...
Rick,
You could
PM
To: jQuery Discussion.
Subject: Re: [jQuery] Need some guidance...
Rick Faircloth schrieb:
Principal: Validate for entry / Validate that entry is numerical after $
,
. are all stripped from entry.
Interest: Validate for entry / Validate that entry is numerical
Years: Validate for entry
] On
Behalf Of Daemach
Sent: Wednesday, February 28, 2007 6:00 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Need some guidance...
Hi Rick -
This is one of those things I would use ajaxCFC for since it handles
serialization automatically. The idea here is that you need to serialize
use AjaxCFC!
Thanks for your time and help!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Wednesday, February 28, 2007 6:00 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Need some guidance...
Hi Rick -
This is one
to openwddx.org, too.
btw... what are ser/deser functions?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Thursday, March 01, 2007 12:54 AM
To: discuss@jquery.com
Subject: Re: [jQuery] Need some guidance...
Ugh - that's right. It is actually
Gotcha. I thought that might be the case. Good on ya. ;o)
Daemach wrote:
Yeah it's education - it's good for new folks to see that you can pass
complex structures back and forth seamlessly.A simple value would be
fine in this case.
I like the loop over the inputs to create the object in
Hmm... I hadn't thought of that. So you're saying that you would
eliminate the looping over the argument structure and just set my =
arguments;? Would that make a *copy* of the arguments structure in the
'my' variable, or would 'my' be a *reference* to the arguments structure?
Chris
Daemach
PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Thursday, March 01, 2007 12:54 AM
To: discuss@jquery.com
Subject: Re: [jQuery] Need some guidance...
Ugh - that's right. It is actually more simple than it looks - it makes a
lot more sense when you actually get to use it ;)
Well
It's a reference, but in this case you're just trying to avoid having to type
arguments so it works - I do the same thing. The only time you really need
to do a deep copy is if you are planning to manipulate the second structure
and need to keep the first intact for some reason.
Christopher
Rick...
To be honest, if you're just performing calculations on the values from the
form fields, you don't even need an AJAX call.
Just do the math in javascript. It'll be faster and seem more responsive to
the user.
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of
Andy,
I'm assuming (and please tell me if I'm wrong here, Rick) that Rick is
just using this as an example to get himself comfortable with Ajax
concepts. Have I read too much into your post Rick?
Btw, Rick, I'm writing a response, but work just stepped in the way
again so I've had to put it
: [jQuery] Need some guidance...
Rick...
To be honest, if you're just performing calculations on the values from the
form fields, you don't even need an AJAX call.
Just do the math in javascript. It'll be faster and seem more responsive to
the user.
_
From: [EMAIL PROTECTED] [mailto
Hi Rick -
This is one of those things I would use ajaxCFC for since it handles
serialization automatically. The idea here is that you need to serialize
the values of your form fields, send them to the server, deserialize,
calculate and put the results into some kind of structure which gets
- Original Message -
From: Daemach [EMAIL PROTECTED]
To: discuss@jquery.com
Sent: Wednesday, February 28, 2007 2:59 PM
Subject: Re: [jQuery] Need some guidance...
Hi Rick -
This is one of those things I would use ajaxCFC for since it handles
serialization automatically. The idea here is that you
Rick,
First will you be using Rob Gonda's AjaxCFC for jQuery? I'd recommend
it, even though it's still in alpha3. I'm using it on a client's
application and it works just fine.
So for this mortgage calculator, you've got your form with the fields
for input (technically speaking this doesn't
- Original Message -
From: Daemach [EMAIL PROTECTED]
To: discuss@jquery.com
Sent: Wednesday, February 28, 2007 2:59 PM
Subject: Re: [jQuery] Need some guidance...
Hi Rick -
This is one of those things I would use ajaxCFC for since it handles
serialization automatically. The idea here
Daemach,
I suppose it's just for the sake of education or something, but putting
the return value in a structure and passing it back seems like overkill
to me. Since there can be only one result from the calculation, just
pass it back as a string or numeric... no need for a structure in this
Yeah it's education - it's good for new folks to see that you can pass
complex structures back and forth seamlessly.A simple value would be
fine in this case.
I like the loop over the inputs to create the object in your example - more
elegant than hardcoding for sure ;)
Christopher Jordan
BTW, since you don't need a deep copy of the arguments structure in the cfc
you can just do cfset my = arguments to simplify.
Christopher Jordan wrote:
Rick,
First will you be using Rob Gonda's AjaxCFC for jQuery? I'd recommend
it, even though it's still in alpha3. I'm using it on a
I'm sorry, I just noticed that you're using serialization = string. I am
used to using json or wddx to pass complex objects back and forth so they
arrive as native objects.
Christopher Jordan wrote:
Rick,
First will you be using Rob Gonda's AjaxCFC for jQuery? I'd recommend
it, even
@jquery.com
Sent: Wednesday, February 28, 2007 3:43 PM
Subject: Re: [jQuery] Need some guidance...
The jQuery port is still in Alpha - hasn't made beta yet. I pieced most
of
this together from reading the code and some examples Rob provided in
Alpha
1.
If you just follow the instructions
@jquery.com
Subject: Re: [jQuery] Need some guidance...
Hi Rick -
This is one of those things I would use ajaxCFC for since it handles
serialization automatically. The idea here is that you need to serialize
the values of your form fields, send them to the server, deserialize,
calculate and put
being done... just wish
I could use AjaxCFC!
Thanks for your time and help!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Wednesday, February 28, 2007 6:00 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Need some
33 matches
Mail list logo