[jQuery] Re: How to dynamically load/add inline javascript?

2009-01-10 Thread christine . panus
The head would have already been sent to the browser by the time you are making your AJAX call.  You're going to have to eval the code to get it inserted into the DOM on the client side.  Until it's registered in the DOM the browser does not know it exists and cannot use it.Thanks,Christine

[jQuery] Re: How to dynamically load/add inline javascript?

2009-01-10 Thread christine . panus
I assume you are not using ColdFusion 8 as its AJAX proxy handles loading your _javascript_ into the DOM for you.  If you are, we should have a different conversation.Ok, for your eval to work, you have to pull the _javascript_ out of your page content, and eval it to get it into the DOM.  If your

[jQuery] Re: validate

2008-11-11 Thread christine . panus
That would be the groups option, I'm still trying to make it work, but here's the documentation I've found:http://docs.jquery.com/Plugins/Validation/Reference#Validating_multiple_fields_with_one_method I've got my rules and my groups option both in the validate _javascript_ call.  If you figure ou

[jQuery] [validate] group Options question

2008-11-10 Thread christine . panus
I'm trying to apply group options to four fields that need to be treated as if they are one single piece of data.  All the samples seem to show using className to apply the validation, but I'm setting up my validation rules in the validation call which does not appear to be the recommended method.

[jQuery] Re: [validate] Dynamic required fields

2008-11-09 Thread Christine Panus
I believe that would be possible with either the required(dependency-expression) or required(dependency-callback) options It looks really similar to the sample they use for dependency-expression http://docs.jquery.com/Plugins/Validation/Methods/required#dependency-expres sion Though if you're g