Re: CF, JQuery and IE

2008-09-17 Thread Matt Williams
On Tue, Sep 16, 2008 at 9:55 AM, Scott Stewart [EMAIL PROTECTED] wrote:
 As far as it happening in all plugins, the answer is yes. It'll work
 like a champ in FF3 and fail completely in IE7


Probably not the issue, but note that IE barfs if you try
script ... /

instead of
script .../script

-- 
Matt Williams
It's the question that drives us.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312710
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF, JQuery and IE

2008-09-16 Thread Scott Stewart
Hey all,

i think I've got multiple issues going on here, but I'll try to explain 
this as best as I can...

I. Using JQuery and cfdiv on the same page.

I've got a page that loads content into a cfdiv, inside the loaded 
content is a call to the JQuery popupwindow plugin.
Is the JQuery call negated by the Ajax libraries that CF uses?

II. JQuery in IE vs. FF

I thought JQuery was fully compatible in both, but I'm having fits 
trying to get plugins to work in IE

III. Has anyone gotten this to work

HLLP!!!

-- 
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312570
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, JQuery and IE

2008-09-16 Thread J.J. Merrick
Scott,

though I don't think this is the case with the CF ajax stuff but I
know that when we used prototype and jquery together the use of the $
sign conflicted. jQuery has a great function you can run that changes
that to anything. it is called noConflict()

var $j = jQuery.noConflict();


that then allows you to do $j(#id)  instead of just $(

As far as the plugins is this happening on all plugins? Remember that
jQuery the core is fairly well tested and that the plugins are written
in javascript and may have IE bugs in them nonetheless.



J.J.



On Tue, Sep 16, 2008 at 7:28 AM, Scott Stewart [EMAIL PROTECTED] wrote:
 Hey all,

 i think I've got multiple issues going on here, but I'll try to explain
 this as best as I can...

 I. Using JQuery and cfdiv on the same page.

 I've got a page that loads content into a cfdiv, inside the loaded
 content is a call to the JQuery popupwindow plugin.
 Is the JQuery call negated by the Ajax libraries that CF uses?

 II. JQuery in IE vs. FF

 I thought JQuery was fully compatible in both, but I'm having fits
 trying to get plugins to work in IE

 III. Has anyone gotten this to work

 HLLP!!!

 --
 Scott Stewart
 ColdFusion Developer

 Office of Research Information Systems
 Research amp; Economic Development
 University of North Carolina at Chapel Hill

 Phone:(919)843-2408
 Fax: (919)962-3600
 Email: [EMAIL PROTECTED]



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312582
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, JQuery and IE

2008-09-16 Thread Scott Stewart
As far as it happening in all plugins, the answer is yes. It'll work 
like a champ in FF3 and fail completely in IE7

J.J. Merrick wrote:
 Scott,

 though I don't think this is the case with the CF ajax stuff but I
 know that when we used prototype and jquery together the use of the $
 sign conflicted. jQuery has a great function you can run that changes
 that to anything. it is called noConflict()

 var $j = jQuery.noConflict();


 that then allows you to do $j(#id)  instead of just $(

 As far as the plugins is this happening on all plugins? Remember that
 jQuery the core is fairly well tested and that the plugins are written
 in javascript and may have IE bugs in them nonetheless.



 J.J.



 On Tue, Sep 16, 2008 at 7:28 AM, Scott Stewart [EMAIL PROTECTED] wrote:
   
 Hey all,

 i think I've got multiple issues going on here, but I'll try to explain
 this as best as I can...

 I. Using JQuery and cfdiv on the same page.

 I've got a page that loads content into a cfdiv, inside the loaded
 content is a call to the JQuery popupwindow plugin.
 Is the JQuery call negated by the Ajax libraries that CF uses?

 II. JQuery in IE vs. FF

 I thought JQuery was fully compatible in both, but I'm having fits
 trying to get plugins to work in IE

 III. Has anyone gotten this to work

 HLLP!!!

 --
 Scott Stewart
 ColdFusion Developer

 Office of Research Information Systems
 Research amp; Economic Development
 University of North Carolina at Chapel Hill

 Phone:(919)843-2408
 Fax: (919)962-3600
 Email: [EMAIL PROTECTED]




 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312589
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF, JQuery and IE

2008-09-16 Thread adam sontag
Typically, when there's jQuery AJAX stuff working in FF3 but not IE, it means 
you're returning malformed markup.  Seems counterintuitive, but IE is the 
browser that barfs. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312629
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, JQuery and IE

2008-09-16 Thread Azadi Saryev
i have had issues with running jquery-based scripts inside cfwindow/cfdiv.
make sure you initate jquery and write the functions you call in the
calling page, not in the page loaded inside cfdiv.
you may also have to re-initiate events and/or properly delegate events
on content load in cfdiv.

hth
 

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Scott Stewart wrote:
 Hey all,

 i think I've got multiple issues going on here, but I'll try to explain 
 this as best as I can...

 I. Using JQuery and cfdiv on the same page.

 I've got a page that loads content into a cfdiv, inside the loaded 
 content is a call to the JQuery popupwindow plugin.
 Is the JQuery call negated by the Ajax libraries that CF uses?

 II. JQuery in IE vs. FF

 I thought JQuery was fully compatible in both, but I'm having fits 
 trying to get plugins to work in IE

 III. Has anyone gotten this to work

 HLLP!!!

   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312651
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, JQuery and IE

2008-09-16 Thread Charlie Griefer
yeah, to add to what Azadi said... i've not done anything yet with cfdiv,
but i've worked with cfwindow.  integrating jquery into a cfwindow is
tricky.  as per the docs, functions inside cfwindow (and maybe cfdiv as
well?) need to be in the format of:
myFunction = function (args) {
 stuff
}

not:

function myFunction(args) {
 stuff
}

when working with jquery plugins (or any external script), you can't be sure
that this format is going to be adhered to.  cfwindow is very very very sad
when that format is not adhered to.


On Tue, Sep 16, 2008 at 6:16 PM, Azadi Saryev [EMAIL PROTECTED] wrote:

 i have had issues with running jquery-based scripts inside cfwindow/cfdiv.
 make sure you initate jquery and write the functions you call in the
 calling page, not in the page loaded inside cfdiv.
 you may also have to re-initiate events and/or properly delegate events
 on content load in cfdiv.

 hth


 Azadi Saryev
 Sabai-dee.com
 http://www.sabai-dee.com/



 Scott Stewart wrote:
  Hey all,
 
  i think I've got multiple issues going on here, but I'll try to explain
  this as best as I can...
 
  I. Using JQuery and cfdiv on the same page.
 
  I've got a page that loads content into a cfdiv, inside the loaded
  content is a call to the JQuery popupwindow plugin.
  Is the JQuery call negated by the Ajax libraries that CF uses?
 
  II. JQuery in IE vs. FF
 
  I thought JQuery was fully compatible in both, but I'm having fits
  trying to get plugins to work in IE
 
  III. Has anyone gotten this to work
 
  HLLP!!!
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312652
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, JQuery and IE

2008-09-16 Thread Azadi Saryev
btw, you can easily implement cfdiv and cfwindow functionality with just
jquery...
jquery has native methods to load ajax content into an element on a page
like a div, and there are nice plug-ins like thickbox and jqmodal that
have same functionality as cfwindow...

of course, cf makes it a lot easier with its on-lineres of code instead
of couple lines of simple jquery code...
on the other hand, i find that payload of jquery, even with extra
plug-ins, is way less than that of cf-loaded js libraries, making you
page lighter and faster to load...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Scott Stewart wrote:
 Hey all,

 i think I've got multiple issues going on here, but I'll try to explain 
 this as best as I can...

 I. Using JQuery and cfdiv on the same page.

 I've got a page that loads content into a cfdiv, inside the loaded 
 content is a call to the JQuery popupwindow plugin.
 Is the JQuery call negated by the Ajax libraries that CF uses?

 II. JQuery in IE vs. FF

 I thought JQuery was fully compatible in both, but I'm having fits 
 trying to get plugins to work in IE

 III. Has anyone gotten this to work

 HLLP!!!

   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312653
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4