Rick,

Sorry, I should have been more specific.

Instead of:
$.post("callpage_Validate_Mortgage_Inputs.cfm", Params,
function(data){ etc...

You want:
$.post("callpage_Validate_Mortgage_Inputs.cfm", Params['Principal'],
function(data){ etc...

And change the other thing back to
Params[$(this).attr("name")] = $(this).val();

-- Josh




----- Original Message ----- 
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To: "'jQuery Discussion.'" <discuss@jquery.com>
Sent: Tuesday, March 13, 2007 5:00 PM
Subject: Re: [jQuery] Need to validate single form field...


> Thanks for the reply, Josh...
> 
> So... does this look like it would be correct?
> 
>        function ValidatePrincipal(){
> 
>            var Params = {};
> 
>            $("input:text").each(function(){
>            Params['Principal'] = $(this).val();
>            });
> 
>            // "post" the form.  The Params object mimics form fields
>            $.post("callpage_Validate_Mortgage_Inputs.cfm", Params,
> function(data){
>            // this is the processing function.
> 
>            // append what you get back to the element with ID = Result
> after clearing its contents
>            $("#Result").empty().append(data);
> 
>            } // closes post function
>            ); // closes ( after .post 
>        } // closes { after ValidatePrincipal()
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Josh Nathanson
> Sent: Tuesday, March 13, 2007 6:42 PM
> To: jQuery Discussion.
> Subject: Re: [jQuery] Need to validate single form field...
> 
> Rick I think that would be
> 
> Params['Principal']
> 
> instead of Params.  
> 
> -- Josh
> 
> 
> 
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to