Re: CFwindow and jquery in source

2009-04-10 Thread Martin Franklin
Hi, I have an edit record form with some jquery that exists on it's own and runs fine. I'd also like to call this cfm as a cfwindow source under certain circumstances (parent-child associations). I cannot for the life of me figure out how to get my jquery to run when it is running

Re: CFwindow and jquery in source

2009-04-10 Thread Martin Franklin
The issue is definitely that some of the jquery plugins rely on the ready event within their code. I can bypass ready in my cfms with ajaxonload for custom stuff, but I can't rewrite all the jQuery plugins! Ok, I can get jQuery validate to work whenever I change from cfform to

CFwindow and jquery in source

2008-08-07 Thread Justin T
Hi, I have an edit record form with some jquery that exists on it's own and runs fine. I'd also like to call this cfm as a cfwindow source under certain circumstances (parent-child associations). I cannot for the life of me figure out how to get my jquery to run when it is running inside a

RE: CFwindow and jquery in source

2008-08-07 Thread Andy Matthews
When you call the cfwindow, have you tried initializing the ready function? -Original Message- From: Justin T [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 11:17 AM To: CF-Talk Subject: CFwindow and jquery in source Hi, I have an edit record form with some jquery

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
No, I sure haven't. I'm actually not sure what you mean. When you call the cfwindow, have you tried initializing the ready function? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
Another example: I have a global jquery field highlighter that runs for all my forms of a specific class. It also relies on the document ready. It's working for the main form, but not the form that is included by the cfwindow tag. == head script =higherlighter /head

Re: CFwindow and jquery in source

2008-08-07 Thread Charlie Griefer
where is your script src=jquery.js/script? it needs to be in the page that creates the cfwindow... not in the page that resides in the cfwindow. On Thu, Aug 7, 2008 at 11:35 AM, Justin T [EMAIL PROTECTED]wrote: Another example: I have a global jquery field highlighter that runs for all my

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
where is your script src=jquery.js/script? it needs to be in the page that creates the cfwindow... not in the page that resides in the cfwindow. On Thu, Aug 7, 2008 at 11:35 AM, Justin T [EMAIL PROTECTED]wrote: Hi Charlie, I tried it both ways, in the source document, in the caller as an

Re: CFwindow and jquery in source

2008-08-07 Thread Charlie Griefer
On Thu, Aug 7, 2008 at 11:52 AM, Justin T [EMAIL PROTECTED]wrote: where is your script src=jquery.js/script? it needs to be in the page that creates the cfwindow... not in the page that resides in the cfwindow. On Thu, Aug 7, 2008 at 11:35 AM, Justin T [EMAIL PROTECTED] wrote: Hi

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
Hi Charlie, Thanks for the idea. If I take away the $.(function(){}) and replace it with init = function() {} and do an ajaxonload, everything works as it should. That is, for the javascript within that source template. Unfortunately, my global jquery files that are included on the calling

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
The issue is definitely that some of the jquery plugins rely on the ready event within their code. I can bypass ready in my cfms with ajaxonload for custom stuff, but I can't rewrite all the jQuery plugins! ~| Adobe®

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
The issue is definitely that some of the jquery plugins rely on the ready event within their code. I can bypass ready in my cfms with ajaxonload for custom stuff, but I can't rewrite all the jQuery plugins! Ok, I can get jQuery validate to work whenever I change from cfform to form in my