Re: JQuery Javascript and Coldfusion Ajax functions

2010-10-15 Thread Daniel Heighton
@Azadi Thanks for the response. I attempted to use this, I see it in the page source and everything but it did not change how the page loads up. This seems very similar to just putting a refresh function in the document.onload() javascript function, which I had tried. That one did not work as

JQuery Javascript and Coldfusion Ajax functions

2010-10-14 Thread Daniel Heighton
I am trying to get a JQuery addon (asmSelect) to work on my page. The addon will load and work, but the multiselect boxes it works on are dynamically loading using a cfc:ajax function. This measns right when the page is loaded, the asmSelect box is empty. I was able to work around this in a

Re: JQuery Javascript and Coldfusion Ajax functions

2010-10-14 Thread Azadi Saryev
you can use ajaxonload() built-in cf function to run a specific js function after all cf ajax controls on the page are loaded. you basically add this line before the closing /body tag: cfset ajaxonload('name-of-js-funtion-to-run') one minus of this is you can't pass any arguments to the js

Re: JQuery Javascript and Coldfusion Ajax functions

2010-10-14 Thread Michael Grant
wondering out loud here, would the following work perhaps? I'm at home for the day and have no intention of firing up an editor tonight ;) cfset ajaxonload('function(){ name-of-js-function-to-run(param1,param2,param3); }') / On Thu, Oct 14, 2010 at 7:08 PM, Azadi Saryev

Re: javascript and coldfusion

2009-10-21 Thread James Holmes
alongside other frameworks. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, October 21, 2009 12:02 AM To: cf-talk Subject: Re: javascript and coldfusion H reading this chain of emails... a question raised in my mind can we use multiple

Re: javascript and coldfusion

2009-10-21 Thread Arsalan Tariq Keen
how can I use these connectors??? I am a newbie to Ajax :s -- From: James Holmes james.hol...@gmail.com Sent: Wednesday, October 21, 2009 2:03 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: javascript and coldfusion And ExtJS explicitly

Re: javascript and coldfusion

2009-10-21 Thread James Holmes
to Ajax :s -- From: James Holmes james.hol...@gmail.com Sent: Wednesday, October 21, 2009 2:03 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: javascript and coldfusion And ExtJS explicitly provides connectors for whatever library you're

Re: javascript and coldfusion

2009-10-21 Thread Claude Schneegans
what are your experiences of the above and others? The best library I ever used is the one I developed myself over the years. 1º it contains about everything I need; 2º it does not contain anything I don't need; 3º it can be enhanced easily any time.

Re: javascript and coldfusion

2009-10-21 Thread Paul Cormier
I concur with Judah's comments on Ext JS and JQuery. ExtJS for largish web apps, JQuery for enhancing a site. I've just posted a presentation I made last weekend titled Building RIAs using ExtJS 3 and ColdFusion which you may find useful.

javascript and coldfusion

2009-10-20 Thread Richard White
Hi, we are doing a review of the best javascript components libraries to use with coldfusion, e.g. jquery, extjs, dhtmlx, etc... what are your experiences of the above and others? thanks richard ~| Want to reach the

Re: javascript and coldfusion

2009-10-20 Thread Cutter (ColdFusion)
I find it best to use ExtJs, for a number of reasons. One, it's bundled in ColdFusion, and I can rapidly prototype applications (using the cfajax tags), then build out full featured apps that directly resemble the prototypes. Licensing is not an issue, as we are licensed the use of the

Re: javascript and coldfusion

2009-10-20 Thread Steve Milburn
I think you'll find a lot of varying opinions on which library is best, but the only way you're going to be able to make the decision that works best for you is to get your hands dirty with several different libraries and decide for yourself. Personally, I started with Spry and have since moved

RE: javascript and coldfusion

2009-10-20 Thread Andy Matthews
best choice. andy -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Tuesday, October 20, 2009 8:55 AM To: cf-talk Subject: javascript and coldfusion Hi, we are doing a review of the best javascript components libraries to use with coldfusion, e.g. jquery, extjs

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
I would suggest using YUI, ExtJS, JQuery and Prototype. Each one has an independent value that the others do not carry. For instance, when using the CFAJAXPROXY, you are using the Prototype library. For UI windows, navigation, etc you are using ExtJS. When building custom controllers or doing

Re: javascript and coldfusion

2009-10-20 Thread James Holmes
I'd cut two from that list; just use jQuery and ExtJS (with the jQuery connector). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/20 Tony Bentley t...@tonybentley.com: I would suggest using YUI, ExtJS, JQuery and Prototype. Each one has an

Re: javascript and coldfusion

2009-10-20 Thread Cutter (ColdFusion)
Especially since ExtJs started out as an 'extension' of YUI ;) And (and I'm not knockin JQuery) people should really look at ExtCore for basic DOM manipulation, ajax and effects... Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
Why wouldn't you choose YUI as an option to implement? I'm not sure I understand, unless it is purely preference. I don't use it but I know there are enough apps out there that use it to make it worth considering. JQuery on the other hand is something I have come to depend on, similarly to

Re: javascript and coldfusion

2009-10-20 Thread Judah McAuley
I like Ext for building JS applications but prefer JQuery for adding functionality on top of an HTML application. Ext is a full fledged frame work. If you want to have a single html page with nothing more than a div and build all your UI in javascript that does event-driven calls to a CF

Re: javascript and coldfusion

2009-10-20 Thread denstar
Yeah, like, dojo's testing stuff is freaking awersome! And you don't have to run dojo to use it, either. Mix and match, match and mix... Cuz the dojo heads are freaking cool like that. Talk about a well thought out JS framework. Hat's off to 'em. -- Everything is pathology, except for

RE: javascript and coldfusion

2009-10-20 Thread Andy Matthews
- From: Tony Bentley [mailto:t...@tonybentley.com] Sent: Tuesday, October 20, 2009 11:00 AM To: cf-talk Subject: Re: javascript and coldfusion Why wouldn't you choose YUI as an option to implement? I'm not sure I understand, unless it is purely preference. I don't use it but I know there are enough

Re: javascript and coldfusion

2009-10-20 Thread Richard White
thanks for all your replies... seems then that extjs is good for ui and jquery for adding functionaility and therefore we should know both :) Hi, we are doing a review of the best javascript components libraries to use with coldfusion, e.g. jquery, extjs, dhtmlx, etc... what are

Re: javascript and coldfusion

2009-10-20 Thread Judah McAuley
-Original Message- From: Tony Bentley [mailto:t...@tonybentley.com] Sent: Tuesday, October 20, 2009 11:00 AM To: cf-talk Subject: Re: javascript and coldfusion Why wouldn't you choose YUI as an option to implement? I'm not sure I understand, unless it is purely preference. I don't

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
Not only that, but Adobe has packaged it for ColdFusion's CFINPUT AUTOSUGGEST /CFIDE/scripts/ajax/yui/autocomplete/autocomplete-min.js /CFIDE/scripts/ajax/yui/animation/animation-min.js /CFIDE/scripts/ajax/yui/yahoo-dom-event/yahoo-dom-event.js YUI is still in development, without a doubt.

Re: javascript and coldfusion

2009-10-20 Thread Arsalan Tariq Keen
: Tony Bentley t...@tonybentley.com Sent: Wednesday, October 21, 2009 1:17 AM To: cf-talk cf-talk@houseoffusion.com Subject: Re: javascript and coldfusion Not only that, but Adobe has packaged it for ColdFusion's CFINPUT AUTOSUGGEST /CFIDE/scripts/ajax/yui/autocomplete/autocomplete-min.js /CFIDE

Re: javascript and coldfusion

2009-10-20 Thread Dave Watts
H reading this chain of emails... a question raised in my mind can we use multiple frameworks on the same page... I mean can use jQuery to create a window and use ExtJS for displaying a grid Generally, yes, although some frameworks may have compatibility issues with others

RE: javascript and coldfusion

2009-10-20 Thread lists
jQuery explicitly offers compatibility mode for use alongside other frameworks. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, October 21, 2009 12:02 AM To: cf-talk Subject: Re: javascript and coldfusion H reading this chain of emails

RE: Javascript and Coldfusion

2008-08-03 Thread Jim Davis
-Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2008 2:12 AM To: CF-Talk Subject: Javascript and Coldfusion I'm looking for some good advice/info on exchanging variables between CF and javascript, anyone know of a good reference site

Javascript and Coldfusion

2008-08-02 Thread Jenny Gavin-Wear
I'm looking for some good advice/info on exchanging variables between CF and javascript, anyone know of a good reference site, please? Jenny ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to

Re: Javascript and Coldfusion

2008-08-02 Thread Brad Wood
: Javascript and Coldfusion I'm looking for some good advice/info on exchanging variables between CF and javascript, anyone know of a good reference site, please? ~| Adobe® ColdFusion® 8 software 8 is the most important

Re: Javascript and Coldfusion

2008-08-02 Thread Charlie Griefer
On Fri, Aug 1, 2008 at 11:22 PM, Brad Wood [EMAIL PROTECTED] wrote: That's a pretty vague question. Never the less, one that comes up often. Basically you need to remember that ColdFusion is all excited first on the server. my ColdFusion doesn't seem all excited. maybe it needs more RAM?

Re: Javascript and Coldfusion

2008-08-02 Thread Brad Wood
lol. It's late and my spell check already went to bed... - Original Message - From: Charlie Griefer [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, August 02, 2008 1:29 AM Subject: Re: Javascript and Coldfusion On Fri, Aug 1, 2008 at 11:22 PM, Brad Wood [EMAIL

Javascript to coldfusion

2005-05-09 Thread Jeremy Bunton
I want to set a javascript var to a coldfusion variable, what I am doing looks like below. The value being a true false Boolean. I keep getting an error that doit is undefined in CF. I've gone from coldfusion to JS before, but not the other way around. Thanks Jeremy script var doit = confirm(Are

RE: Javascript to coldfusion

2005-05-09 Thread COLLIE David
Hidden form field... Get it in next submission... Alternatively... Have the text in CF before it and use the var in the javascript. cfscript cfset didit = Are you sure you want to delete? / /cfscript script type=text/javascript var doit = confirm('#JSStringFormat(didit)#'); /script

Re: Javascript to coldfusion

2005-05-09 Thread frederick valone
You cannot set a coldfusion variable on the client side as you did below. You can set javascript variables to the value of cf variables that have already been set. cfset doit = Are you sure you want to delete? cfoutput script var didit = confirm(#doit#); /script /cfoutput Jeremy Bunton

Re: Javascript to coldfusion

2005-05-09 Thread Keith Gaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy Bunton wrote: I want to set a javascript var to a coldfusion variable, what I am doing looks like below. The value being a true false Boolean. I keep getting an error that doit is undefined in CF. I've gone from coldfusion to JS before,

javascript , xml, coldfusion question

2004-05-25 Thread John mccosker
Hi, I have just a sample _javascript_, var xmlDoc='?xml version=1.0 encoding=iso-8859-1?cfColdfusion/cf'; var xmlHttp = new ActiveXObject(Microsoft.XMLHTTP); xmlHttp.open(POST, index.cfm?fuseaction=agentsmith.return_wp_list, false); xmlHttp.send(xmlDoc); the url is targeting a circuit within a

RE: Javascript calling ColdFusion - will this work?

2002-08-22 Thread Dan G. Switzer, II
: Wednesday, August 21, 2002 10:15 AM To: CF-Talk Subject: Re: Javascript calling ColdFusion - will this work? At 10:07 AM 21/08/02 -0400, Jon Hall wrote: Yes that should work, I've used a similar technique for a banner program in the past. That's what I thought, but it isn't working for me

Javascript calling ColdFusion - will this work?

2002-08-21 Thread Thane Sherrington
I'm trying to use this code to call a ColdFusion page: function Get_Referrer() { document.write(script language='Javascript' src='http://www.stuffbythane.com/SiteTracker/test3.cfm?in=; + document.referrer + out= + document.location + '); document.write(/); document.write(script); }

Re: Javascript calling ColdFusion - will this work?

2002-08-21 Thread Jon Hall
Yes that should work, I've used a similar technique for a banner program in the past. -- jon mailto:[EMAIL PROTECTED] Wednesday, August 21, 2002, 9:37:13 AM, you wrote: TS I'm trying to use this code to call a ColdFusion page: TS function Get_Referrer() { TS document.write(script

Re: Javascript calling ColdFusion - will this work?

2002-08-21 Thread Thane Sherrington
At 10:07 AM 21/08/02 -0400, Jon Hall wrote: Yes that should work, I've used a similar technique for a banner program in the past. That's what I thought, but it isn't working for me. This is the complete code I'm using - three files in total: Alright, I tried this, but I must be doing

Re: Javascript Validation Coldfusion ?

2001-08-17 Thread Ianv2
Hi I have just tried all your suggestions shown below and it is still not working? The javascript validation kicks in for the two input fields and displays Title of the Uploaded File but the two select boxes did not activate the validation messages? Any ideas why?, I have attached the code

RE: Javascript Validation Coldfusion ?

2001-08-17 Thread Larry Juncker
17, 2001 3:56 AM To: CF-Talk Subject: Re: Javascript Validation Coldfusion ? Hi I have just tried all your suggestions shown below and it is still not working? The javascript validation kicks in for the two input fields and displays Title of the Uploaded File but the two select boxes did

Javascript Validation Coldfusion ?

2001-08-16 Thread Ianv2
Hi How do you add validation to drop down form select boxes using Javascript. I have added validation (shown below in the js) for the two text input fields but need to build in validation for the two select boxes and also a CFFile field as these are required fields in the form, any ideas on

Re: Javascript Validation Coldfusion ?

2001-08-16 Thread Steve Reich
First I recommend you send a blank email to [EMAIL PROTECTED] and join JS-Jive, the javascript list. You'll get lots of help with Javascript. But to answer your question, you need to access the selectedIndex property of a select box to validate it script function validateSelect(){

RE: Javascript Validation Coldfusion ?

2001-08-16 Thread JSchlosser
I tend to place the js in the action page, assuming the dropdown is in a form. This is what I use to force someone to select a value from a prefix field. CFIF parameterexists(FORM.NAME_PREFIX) IS no or #trim(FORM.PREFIX)# is '' SCRIPT Language=JavaScript alert(Please

RE: Javascript Validation Coldfusion ?

2001-08-16 Thread JSchlosser
:-) JoAnn A. Schlosser Senior Consultant Association Management Software Grant Thornton LLP Washington, D. C. 703.837.4428 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 8:41 AM To: CF-Talk Subject: RE: Javascript Validation Coldfusion ? I

Re: Javascript Validation Coldfusion ?

2001-08-16 Thread Don Vawter
[EMAIL PROTECTED] Sent: Thursday, August 16, 2001 6:40 AM Subject: RE: Javascript Validation Coldfusion ? I tend to place the js in the action page, assuming the dropdown is in a form. This is what I use to force someone to select a value from a prefix field. CFIF parameterexists

RE: Javascript Validation Coldfusion ?

2001-08-16 Thread Larry Juncker
Subject: Javascript Validation Coldfusion ? Hi How do you add validation to drop down form select boxes using Javascript. I have added validation (shown below in the js) for the two text input fields but need to build in validation for the two select boxes and also a CFFile field

RE: Javascript Validation Coldfusion ?

2001-08-16 Thread JSchlosser
-Original Message- From: Don Vawter [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 8:48 AM To: CF-Talk Subject: Re: Javascript Validation Coldfusion ? Why would you put it in the action page. You are requiring an extra trip to the server if you do that. If you put your validation

RE: Javascript Validation Coldfusion ?

2001-08-16 Thread Shawn Grover
this info helps someone. Shawn Grover -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 6:41 AM To: CF-Talk Subject: RE: Javascript Validation Coldfusion ? I tend to place the js in the action page, assuming the dropdown is in a form

Re: Javascript Validation Coldfusion ?

2001-08-16 Thread sanathr
sr_lists@pagecTo: CF-Talk [EMAIL PROTECTED] oders.com cc: Subject: Re: Javascript Validation