Re: [jQuery] Need some guidance...

2007-03-09 Thread Jörn Zaefferer
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

Re: [jQuery] Need some guidance...

2007-03-09 Thread Rick Faircloth
. 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

Re: [jQuery] Need some guidance...

2007-03-09 Thread Rick Faircloth
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

Re: [jQuery] Need some guidance...

2007-03-08 Thread Rick Faircloth
? 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

Re: [jQuery] Need some guidance...

2007-03-08 Thread Jörn Zaefferer
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

Re: [jQuery] Need some guidance...

2007-03-08 Thread Rick Faircloth
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

Re: [jQuery] Need some guidance...

2007-03-07 Thread Jörn Zaefferer
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

Re: [jQuery] Need some guidance...

2007-03-05 Thread Rick Faircloth
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

Re: [jQuery] Need some guidance...

2007-03-05 Thread Christopher Jordan
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

Re: [jQuery] Need some guidance...

2007-03-05 Thread Jörn Zaefferer
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

Re: [jQuery] Need some guidance...

2007-03-05 Thread Rick Faircloth
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

Re: [jQuery] Need some guidance...

2007-03-05 Thread Rick Faircloth
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

Re: [jQuery] Need some guidance...

2007-03-04 Thread Rick Faircloth
] 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

Re: [jQuery] Need some guidance...

2007-03-04 Thread Daemach
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

Re: [jQuery] Need some guidance...

2007-03-01 Thread Rick Faircloth
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

Re: [jQuery] Need some guidance...

2007-03-01 Thread Christopher Jordan
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

Re: [jQuery] Need some guidance...

2007-03-01 Thread Christopher Jordan
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

Re: [jQuery] Need some guidance...

2007-03-01 Thread Christopher Jordan
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

Re: [jQuery] Need some guidance...

2007-03-01 Thread Daemach
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Andy Matthews
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Christopher Jordan
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Rick Faircloth
: [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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Daemach
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Josh Nathanson
- 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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Christopher Jordan
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Daemach
- 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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Christopher Jordan
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Daemach
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Daemach
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Daemach
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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Josh Nathanson
@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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Rick Faircloth
@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

Re: [jQuery] Need some guidance...

2007-02-28 Thread Daemach
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