Hi, Rey...

Link... sure... this is a demo link.

http://bodaford.whitestonemedia.com/html/trial_field_validation.cfm

I think the problem I'm having now is with the js code as I try to expand
from validating just the Principal field to both the Principal and the
Interest fields.

The problem is probably in this code:

        $(function() {  //jQuery makes this run when the page is loaded and
ready
        
                        $("#Principal").blur(function(){ //assign a blur
event to the input
        
$.post("callpage_Validate_Mortgage_Inputs.cfm",
{principal:$("#Principal").val()}, function(data){
                                
                        $("#Interest").blur(function(){
        
$.post("callpage_Validate_Mortgage_Inputs.cfm",
{interest:$("#Interest").val()}, function(data){
                                
                        // append what you get back to the element with ID =
Result after clearing its contents
                        $("#Result").empty().append(data);
                                        
                        }); // closes Interest function(data)
                        }); // closes Interest blur function
                                }); // closes post
                        }); // closes blur
        }); // closes document.ready

Thanks,

Rick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rey Bango
Sent: Tuesday, March 13, 2007 11:46 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Ok... one last effort to make this work... help!

Rick, do you have a link that I can look at?





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

Reply via email to