Re: SOT: ajaxCFC/JavaScript/dynamic forms

2009-10-22 Thread Bryan Stevenson
Thanks for the quick reply Tony! I should note that I am NOT currently using jQuery with my AJAX calls except for serializing the form. I'm also doing this with openBD where CFAJAXPROXY was a bit off lat time I tested it (but as you said...that's for the simple stuff). Do you have a code snippe

Re: SOT: ajaxCFC/JavaScript/dynamic forms

2009-10-22 Thread Tony Bentley
Generally when I want to return HTML, I use the JQuery load() function. When I want to return a data set in JSON: array or query object, return a boolean value or a single vfalue I use ColdFusion's native CFAJAXPROXY. I suggest returning the form using load(), which then will fix your issue.

SOT: ajaxCFC/JavaScript/dynamic forms

2009-10-22 Thread Bryan Stevenson
Hi All, I'm not the best when it comes to JavaScript and I've got a question about forms that are created in a CFC method and then passed back to the client to be displayed in a DIV (meant to look like a pop-up).

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. http://www.slideshare.net/paulcormier/building-rias-u

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 James Holmes
jax :s > > -- > From: "James Holmes" > Sent: Wednesday, October 21, 2009 2:03 PM > To: "cf-talk" > Subject: Re: javascript and coldfusion > >> >> And ExtJS explicitly provides connectors for whatever libra

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" Sent: Wednesday, October 21, 2009 2:03 PM To: "cf-talk" Subject: Re: javascript and coldfusion > > And ExtJS explicitly provides conne

Re: javascript and coldfusion

2009-10-21 Thread James Holmes
gside 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 m

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

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 othe

Re: javascript and coldfusion

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

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
Not only that, but Adobe has packaged it for ColdFusion's /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. Ext is a project tha

Re: javascript and coldfusion

2009-10-20 Thread Judah McAuley
t is behind at all). > > > andy > > -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?

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.

RE: javascript and coldfusion

2009-10-20 Thread Andy Matthews
al 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 use it bu

Re: javascript and coldfusion

2009-10-20 Thread denstar
ingle html > page with nothing more than a div and build all your UI in javascript > that does event-driven calls to a CF backend, then Ext is your best > friend. However, Ext is still quite difficult to theme. It is going to > look like Ext unless you go to a lot of trouble creating a

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 backend

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
n, similarly to ColdFusion. Both are layers on top (Javascript and Java) and both make it much easier to use. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists

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 "Le

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 : > > I would suggest using YUI, ExtJS, JQuery and Prototype. Each one has an > independent value that the

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 y

RE: javascript and coldfusion

2009-10-20 Thread Andy Matthews
y far your 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. jqu

Re: javascript and coldfusion

2009-10-20 Thread Steve Milburn
l of which are very solid with jQuery. Steve On Tue, Oct 20, 2009 at 9:54 AM, Richard White wrote: > > 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 experien

Re: javascript and coldfusion

2009-10-20 Thread Cutter (ColdFusion)
White wrote: > 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 > > ~~

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: CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Robert Bell
gt; > Robert Bell wrote: > Problem SOLVED. Seems by using the full path to the url, some > browsers were having problems, so I just used the cfimage.cfm relative > path, and everything works on all browser permutations just dandy. > Guess this was viewed as a cross-domain scripting

Re: CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Mark Atkinson
> having problems, so I just used the cfimage.cfm relative path, and everything > works on all browser permutations just dandy. Guess this was viewed as a > cross-domain scripting attack somewhere down the ajax/ui/cf/javascript path ? > Hrm, anyway thanks for li

Re: CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Robert Bell
/javascript path ? Hrm, anyway thanks for listening to me at all. :) > Ok, I got the AJAX Debugger to show me this, but it still makes no > sense to me. I change the cfwindow to a static name: img_window, and > started using coldfusion.navigate instead of coldfusion.window.unhide

Re: CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Azadi Saryev
what's the code in your cfimage.cfm page? the error you get is very possible due to cfimage.cfm throwing an error... also, do you use site-wide or other error handler(s)? tag in Application.cfm? onError() method in Application.cfc? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 14/10/

Re: CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Robert Bell
ith windows/xp boxes running IE7 with one > of > the cfm pages I created. I am kinda at a loss to why it is happening, > because > on my test machines it works flawlessly. Any ideas on why we could > the > error below would be appreciated. The page uses a cfform with a > bu

Re: CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Robert Bell
Well, that piece of code seems to work fine, it just adds a bit of vertical height to the window depending on image size. The whole thing works fine that I can see IE8,IE6,FF2,FF3, but my my bosses IE7 failed on it. I am starting to wonder, if it not connected to me not destroying the cfwindow,

Re: CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Mark Atkinson
ge uses a cfform with a button > that creates a cfwindow via javascript: > > The page works fine on ie8, ie6, ff2, ff3 etc.. and ie7 and seems to be > intermittent on some browsers or connections to the cf8 server. I have had > a couple of JVM mem warnings on the box, and upped th

CF8 => button => javascript/cfwindow => occasional => Error retrieving markup for element

2009-10-14 Thread Robert Bell
button that creates a cfwindow via javascript: The page works fine on ie8, ie6, ff2, ff3 etc.. and ie7 and seems to be intermittent on some browsers or connections to the cf8 server. I have had a couple of JVM mem warnings on the box, and upped the jvm heap size from 256/512 => 768/768, but I

Javascript error in Firefox

2009-10-08 Thread vidya yegnaraman
Hi, I am having a javascript, that works in IE and not in firefox. I always get the error as below. Error: changeTextSize is not defined Source File: javascript:changeTextSize(-1); Line: 1 Error: changeTextSize is not defined Source File: javascript:changeTextSize(1); Line: 1 This is the

Re: javascript / coldfusion ajax communication

2009-09-30 Thread Richard White
thanks, your advice and links are clear to understand... so the best option seems to be encodeuricomponent function in js and urldecode function in cf thanks again > hi > > our client side scripting is in javascript and server side code is > coldfusion. > > our javascript

RE: javascript / coldfusion ajax communication

2009-09-29 Thread Josh Nathanson
Richard, here's a helpful site with comparisons of the various js options to encode: http://xkr.us/articles/javascript/encode-compare/ -- Josh -Original Message- From: Steve Milburn [mailto:scmilb...@gmail.com] Sent: Tuesday, September 29, 2009 9:41 AM To: cf-talk Subjec

Re: javascript / coldfusion ajax communication

2009-09-29 Thread Steve Milburn
hi > > our client side scripting is in javascript and server side code is > coldfusion. > > our javascript sends string data to coldfusion via url. > > what is the best way to encode/escape the javascript strings and > decode/unescape them i

RE: javascript / coldfusion ajax communication

2009-09-29 Thread Robert Harrison
If you java script is in a .cfm page you can use CFtags inside the script to generate the script output. Use CFOUTPUT and wrap your URL var : #URLEncodedFormat(my_URLvar)# When it writes out the javascript to the page it will be encoded correctly. Robert B. Harrison Director of

Re: javascript / coldfusion ajax communication

2009-09-29 Thread Richard White
does anyone have ideas? > hi > > our client side scripting is in javascript and server side code is > coldfusion. > > our javascript sends string data to coldfusion via url. > > what is the best way to encode/escape the javascript strings and > decode/

javascript / coldfusion ajax communication

2009-09-28 Thread Richard White
hi our client side scripting is in javascript and server side code is coldfusion. our javascript sends string data to coldfusion via url. what is the best way to encode/escape the javascript strings and decode/unescape them in coldfusion thanks richard

Re: cfinput not accepting long javascript?

2009-09-02 Thread Phillip Vector
Again.. Sorry.. I noticed the error once I sent out the email. it's still not loading the flash page, but me and my boss decided to just do it a different way. Apparently, It was erroring and JRun was picking up the error... Which I can't see. On Wed, Sep 2, 2009 at 1:51 PM, Dave Watts wrote: > >

Re: cfinput not accepting long javascript?

2009-09-02 Thread Dave Watts
> I've changed it into a function now.. > >         >                function Send_Email() >                { >                         > getURL("javascript:NewWindow=window.open('adjustments.cfm','newWin'); > NewWindow.focus(); void(0);"); >                        onclick='alert("Make sure you ar

Re: cfinput not accepting long javascript?

2009-09-02 Thread Phillip Vector
Sorry.. There is a single quote after that. The copy and paste didn't grab it. I've changed it into a function now.. function Send_Email() { getURL("javascript:NewWindow=window.open('adjustments.cfm','newWin'); NewWindow.focus();

Re: cfinput not accepting long javascript?

2009-09-02 Thread Dave Watts
> type="checkbox" label="Close Jump Start Pay Period" > onclick='alert("Make sure you are changing the Weekly Commission Start > Date as well!"); > getURL("javascript:window.open('wtcompanyinfo_sendemail.cfm','news');") > > It's a flash cfform (hence the actionscript) and it doesn't load the > fo

cfinput not accepting long javascript?

2009-09-02 Thread Phillip Vector
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325950 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Re: ColdFusion MX6.1: Using JavaScript with CFTREEITEM

2009-08-31 Thread Tony Bentley
I just developed a tree using JQuery and the built in functions for XML in Coldfusion. Also, I believe you can even use SQL to write the XML tree. http://docs.jquery.com/Plugins/Treeview/treeview ~| Want to reach the ColdFusio

Re: ColdFusion MX6.1: Using JavaScript with CFTREEITEM

2009-08-31 Thread Cutter (ColdFusion)
Sanjeev, Forgive me if my memory is faulty (6.1 is a little dated), but isn't the cftree implementation in 6.1 a Java Applet? You might want to look at ExtJs. I know that the ColdExt project supports the ExtJs based Tree. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia C

ColdFusion MX6.1: Using JavaScript with CFTREEITEM

2009-08-31 Thread SANJEEV SINGLA
Hi All, I am using ColdFusion MX6.1 and want to build hirearchial tree using cftree and cftrritem. The problem I am facing is that upon click of the nodes (child nodes only not folders) I want to have some functionality. I am trying to use http://www.houseoffusion.com/groups/cf-talk/message.cf

Re: CFAjax not playing well with javaScript.

2009-08-18 Thread Rick Root
On Tue, Aug 18, 2009 at 11:09 AM, Dave Watts wrote: > >> http://lmgtfy.com/?... > > That's just wrong. And yet much friendlier than http://www.justfuckinggoogleit.com -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianva

Re: cfajax with and javascript - not playing well together

2009-08-18 Thread Tony Bentley
You can always try using jquery $(div).load('template.cfm') which is lightweight and usually does not interfere with flash JS libs. ~| Want to reach the ColdFusion community with something they want? Let them know on the House

Re: CFAjax not playing well with javaScript.

2009-08-18 Thread Dave Watts
> http://lmgtfy.com/?... That's just wrong. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your locati

Re: CFAjax not playing well with javaScript.

2009-08-17 Thread Rick Root
On Mon, Aug 17, 2009 at 8:42 PM, Michael Grove wrote: > > I am still trying to figure out firebug. Spend more time learning firebug if you're gonig to do *ANY* ajax development. It's really quite simple. http://lmgtfy.com/?q=firebug+tutorial -- Rick Root New Brian Vander Ark Album, songs in t

Re: CFAjax not playing well with javaScript.

2009-08-17 Thread Michael Grove
Here is the code. I am still trying to figure out firebug. I added the ajaxonload - and now it will not load the first time but does on all clicks after that. Before it would load the first time but not afterwards. <--- a query is here for security check --->

Re: CFAjax not playing well with javaScript.

2009-08-17 Thread Azadi Saryev
On 18/08/2009 00:20, Michael Grove wrote: > Any suggestions would be greatly appreciated. use Firefox+Firebug to see the real js error. post relevant code from the page you are loading inside cfdiv (the one that throws the error) if you have any js in that page, make sure your functions are decla

CFAjax not playing well with javaScript.

2009-08-17 Thread Michael Grove
I am not real good with JavaScript so that may be my problem, but I have written a page that has two separate cfdiv's with bind. One holds a video player and the other is the navigation. When you click through the navigation you have to go three levels before you select a video. Whe

cfajax with and javascript - not playing well together

2009-08-17 Thread Michael Grove
I am not real good with JavaScript so that may be my problem, but I have written a page that has two seperate cfdiv's with bind. One holds a video player and the other is the navigation. When you click through the navigation you have to go three levels before you select a video. Whe

Re: Dynamic & External Javascript Sheet

2009-08-03 Thread Barney Boisvert
a .cfm file in the src attribute of a >> script tag, serving a dynamic document through. Just make sure that the >> generated JavaScript is valid, and use the cfcontent tag to tell the >> browser that it's a javascript file. > > What about caching? Won't the browse

Re: Dynamic & External Javascript Sheet

2009-08-03 Thread Kym Kovan
> You can put a .cfm file in the src attribute of a > script tag, serving a dynamic document through. Just make sure that the > generated JavaScript is valid, and use the cfcontent tag to tell the > browser that it's a javascript file. What about caching? Won't the bro

Re: Dynamic & External Javascript Sheet

2009-08-03 Thread Cutter (ColdFusion)
Although there are several really big advantages to an external 'javascript' file being a static file, who said that your external file must end with .js? You can put a .cfm file in the src attribute of a script tag, serving a dynamic document through. Just make sure that the

Re: Dynamic & External Javascript Sheet

2009-08-03 Thread Dave Watts
> Obviously, a ColdFusion file must end with the .cfm extension to be processed > by the > server and as I have found out through research an external javascript sheets > needs to > end with a .js extension. Actually, neither of these things are true. CF pages can have any

Re: Dynamic & External Javascript Sheet

2009-08-03 Thread Barney Boisvert
You can certainly point your SCRIPT tags at a CFM file to generated dynamic JavaScript: You'll need to serve back the right content type (using CFCONTENT). cheers, barneyb On Mon, Aug 3, 2009 at 11:52 AM, Asaf Peleg wrote: > > I'm looking for a way to attach an external javas

Dynamic & External Javascript Sheet

2009-08-03 Thread Asaf Peleg
I'm looking for a way to attach an external javascript sheet that includes dynamic coldfusion code. Obviously, a ColdFusion file must end with the .cfm extension to be processed by the server and as I have found out through research an external javascript sheets needs to end with

RE: OT javascript

2009-07-30 Thread Adrian Lynch
That's ok. Having duplicate names is cool. Adrian > -Original Message- > From: Chad Gray [mailto:cg...@careyweb.com] > Sent: 30 July 2009 16:46 > To: cf-talk > Subject: RE: OT javascript > > > When you submit it makes a comma delimited list of ID&

Re: OT javascript

2009-07-30 Thread Andy Matthews
Chad... Here's what I'd suggest...leave the name value as is, even though that's not the best idea. Add an ID attribute to each, with an increasing numeric value: cb1, cb2, cb3, etc. Give each combobox the same class, comboBox or something like that. Then, you could try something like this:

RE: OT javascript

2009-07-30 Thread Chad Gray
Original Message- > From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] > Sent: Thursday, July 30, 2009 11:38 AM > To: cf-talk > Subject: Re: OT javascript > > > Why would you have two selects with the same name? Radio Buttons? Sure. > But not selects... &g

RE: OT javascript

2009-07-30 Thread Andy Matthews
ginal Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Thursday, July 30, 2009 10:20 AM To: cf-talk Subject: OT javascript Say I have two select inputs on one page and they are named the same. Please Select 1 Please Select 1 I want to write javascript to check that both of these ar

RE: OT javascript

2009-07-30 Thread Adrian Lynch
e- > From: Chad Gray [mailto:cg...@careyweb.com] > Sent: 30 July 2009 16:20 > To: cf-talk > Subject: OT javascript > > > Say I have two select inputs on one page and they are named the same. > > Please Select > 1 > > > Please Select > 1 > > >

Re: OT javascript

2009-07-30 Thread Cutter (ColdFusion)
learning-ext-js/book _ http://blog.cutterscrossing.com On 7/30/2009 10:19 AM, Chad Gray wrote: > Say I have two select inputs on one page and they are named the same. > > Please Select > 1 > > > Please Select > 1 > > > I want to write javascript to check that bo

Re: OT javascript

2009-07-30 Thread JediHomer
ne page and they are named the same. > > Please Select > 1 > > > Please Select > 1 > > > I want to write javascript to check that both of these are not left blank or > in their default stage of "Please Select". > > Can I do this in javascript ID[

OT javascript

2009-07-30 Thread Chad Gray
Say I have two select inputs on one page and they are named the same. Please Select 1 Please Select 1 I want to write javascript to check that both of these are not left blank or in their default stage of "Please Select". Can I do this in javascript ID[0] to get the value of the

Re: how to get alerts in coldfusion like javascript

2009-07-15 Thread Robert Nurse
this, if the search string neq to "" > it is going to action if it is null i should get alert() > > > Rama Can't you use Javascript? onClick="if (this.form.searchbox.value.replace(/^\s+|\s+$/g, "")

Re: Can I initiate a bind from javascript?

2009-07-13 Thread John Pullam
Excellent article, thanx!! I consolidated and reordered the external script file, CSS sheet and inline script and that further trimmed the time. I'm down to about 2 seconds for IE7. I still want more improvement, but it's getting tolerable.

how to get alerts in coldfusion like javascript

2009-07-13 Thread RamaDevi Dobbala
Hi Frnds, Here is my problem... I have a search field Search button is an image,if i click on that button after text entered it is giving the result by going to corresponding action, but if don't give any text i have to get an alert how to achive this, if the search string neq to "" it is

Re: Can I initiate a bind from javascript?

2009-07-12 Thread Al Musella, DPM
false, it is not bound when the window opens. > >Is there any clean way thru Javascript to initiate the bind, after I >assign the values but before I open the window? > > ~| Want to reach the ColdFusion community w

Re: Can I initiate a bind from javascript?

2009-07-12 Thread Azadi Saryev
at the > beginning so I would ike to defer the bind until I open that window (if at > all). If I set it to bindonload=false, it is not bound when the window opens. > > Is there any clean way thru Javascript to initiate the bind, after I assign > th

Can I initiate a bind from javascript?

2009-07-12 Thread John Pullam
en open at the beginning so I would ike to defer the bind until I open that window (if at all). If I set it to bindonload=false, it is not bound when the window opens. Is there any clean way thru Javascript to initiate the bind, after I assign the values but before I open

Re: (ot) Javascript Help

2009-07-09 Thread Dave Watts
> Someone told me that IE cannot talk to an embed tag, only an object tag, but > I believe > the ID vs NAME issue is tripping me up. I don't think IE uses the EMBED tag at all. Give your OBJECT an ID of its own, and use that when you're in IE. Dave Watts, CTO, Fig Leaf Software http://www.figle

Re: (ot) Javascript Help

2009-07-09 Thread James Holmes
There's probably something in jquery that'll do it on one line of cross browser code... mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/9 Michael Muller : > > Ok, I need some Javascript help. > > I just cannot get this script

(ot) Javascript Help

2009-07-09 Thread Michael Muller
Ok, I need some Javascript help. I just cannot get this script (residing in an iframe)... parent.thisMovie('studio_loader_embed').reloadClipart(); parent.thisMovie('studio_loader_embed').showTab(2); ...to go through this script... function thisM

Re: cfform javascript reference

2009-06-30 Thread Azadi Saryev
you do not even need to have any function. you can just use: Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 29/06/2009 03:15, David McGuigan wrote: > etc > > So, accessible to your page you'd have a > > function mute( ){ return false( ); } > > And then your buttons could be: > >

Re: cfform javascript reference

2009-06-28 Thread David McGuigan
Er, function mute( ){ return false; } Not false( ); On Sun, Jun 28, 2009 at 2:15 PM, David McGuigan wrote: > etc > > So, accessible to your page you'd have a > > function mute( ){ return false( ); } > > And then your buttons could be: > > onclick="document.getElementById('form').reset()">cle

Re: cfform javascript reference

2009-06-28 Thread David McGuigan
etc So, accessible to your page you'd have a function mute( ){ return false( ); } And then your buttons could be: clear send You may be able to return false directly in the href, I can't remember. On Sun, Jun 28, 2009 at 12:33 PM, Matthew Smith wrote: > > I have a cfform with the following

cfform javascript reference

2009-06-28 Thread Matthew Smith
I have a cfform with the following for reset and submit: clear send Clicking the reset button clears the form but the goes to domain.com/#, as does the submit button. I can change it to this, and it works properly, but hovering over the button does not change the pointer. clear send Any way t

Javascript and Cfform/Layout with tabs

2009-06-06 Thread Les Schmidt
Does anyone have any experience with how Javascript (coded between the 'head' tags) works with forms that appear on cflayout tabs? My application gets email from numerous email accounts and displays each account's emails neatly in a separate table. I have a javascript functio

IUM IUM Re: Javascript question

2009-03-18 Thread Jenny Gavin-Wear
ha! Got it! it was the submit buttons on the page being named "submit" ... Thanks all, pointed me in the right direction !! -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: 18 March 2009 14:24 To: cf-talk Subject: SPAM-MEDIUM IUM Re:

IUM Re: Javascript question

2009-03-18 Thread Jenny Gavin-Wear
Thanks all for the rapid replies. I'm sure it's something stupid I'm doing, arrghhh I've tried this as a test and it works fine: SELECT * FROM tbl_confRooms where confID = #session.confID# 1 2 3 4 4.5 checked > 5 checked > But when it's on the page I need it on I get the error:

Re: Javascript question

2009-03-18 Thread Claude Schneegans
>>document.registerForm.submit is not a function Apparently, getElementById() has returned an object which is not a form, thus which has no submit function.. Make sure no other object has an id="registerForm". ~| Adobe® ColdFu

Re: Javascript question

2009-03-18 Thread Ryan Stille
Do you have ID="registerForm" in your opening form tag? Don't forget it is case sensitive, too. -Ryan Jenny Gavin-Wear wrote: > I have in the header: > > > function submitForm() > { > document.getElementById("registerForm").submit() > } > > > and this as the trigger: > > is 0>checked onCli

Re: Javascript question

2009-03-18 Thread Massimo Foti
m.submit is not a function > > Could someone tell me what I am doing wrong, please? Let me guess... Your form contains an element named "submit"? IE doesn't like that (should be fine in FF). ---- Massimo Foti, web-programme

Re: Javascript question

2009-03-18 Thread Ian Skinner
Jenny Gavin-Wear wrote: > Could someone tell me what I am doing wrong, please? Does your form control of an id of 'registerForm' with that exact capitalization? Is it the only thing on the page with that id? ~| Adobe® Cold

Javascript question

2009-03-18 Thread Jenny Gavin-Wear
I have in the header: function submitForm() { document.getElementById("registerForm").submit() } and this as the trigger: checked onClick="submitForm()"> I am getting the error: document.registerForm.submit is not a function Could someone tell me what I am doing wrong, please? tia, Jenny

Re: [JavaScript] Getting Parent

2009-03-16 Thread Andrew Grosset
try: parent.top.location.href Andrew. >Hi All, > > > >I have a page that loads a modal popup using ShowModalDialog. To get around >issues with submitting data inside a modal dialog, I have an iframe to >handle posts within in the modal dialog. > > > >The popup gets triggered two minutes before

[JavaScript] Getting Parent

2009-03-16 Thread Duane Boudreau
Hi All, I have a page that loads a modal popup using ShowModalDialog. To get around issues with submitting data inside a modal dialog, I have an iframe to handle posts within in the modal dialog. The popup gets triggered two minutes before the session is about to timeout. They assume that

Re: JavaScript Validation in ColdFusion

2009-02-20 Thread Claude Schneegans
>>should be: if (document.form1.text_id.disabled == true) Or more simply: if (document.form1.text_id.disabled) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.

RE: JavaScript Validation in ColdFusion

2009-02-20 Thread William Seiter
statement will only be 'false' if the left was not successfully set to the value on the right. To check equality use the 2 equal signs. == William -Original Message- From: Priya Koya [mailto:priya23...@gmail.com] Sent: Thursday, February 19, 2009 10:40 PM To: cf-talk Subject:

JavaScript Validation in ColdFusion

2009-02-19 Thread Priya Koya
Hi all, I have an issue Have a form and have the three raio buttons and I grouped it. Need to select one option and depending on the option need to fill texboxes. I am able to select the radio button and produce the error message. I am trying to disable and enable textboxes and validate

RE: Javascript question

2009-02-13 Thread Adrian Lynch
SHARE IT, SHARE IT, SHARE IT, SHARE IT, SHARE IT!! :OD Go on, take out any sensitive info (but make sure the structure remains the same). Adrian > -Original Message- > From: Nathan Strutz [mailto:str...@gmail.com] > Sent: 13 February 2009 21:50 > To: cf-talk > Subject:

Re: Javascript question

2009-02-13 Thread Nathan Strutz
Ok scott, you've piqued my interest. You've _got_ to share this interface that chokes jQuery. :) nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] On Fri, Feb 13, 2009 at 12:57 PM, Scott Stewart wrote: > > and that would/does work. > > I don't

Re: Javascript question

2009-02-13 Thread Scott Stewart
and that would/does work. I don't know if it's an error with the layout or jquery can't traverse nested tables or what but I've never been able to get it to function consistently in this layout Brian Swartzfager wrote: >> jquery doesn't work with this layout, that's the first place I went. >>

Re: Javascript question

2009-02-13 Thread Brian Swartzfager
>jquery doesn't work with this layout, that's the first place I went. Not to keep beating the jQuery horse, but if jQuery is referencing the radio button by ID or some other non-positional selector, the layout shouldn't matter. Just to be sure, I wrote up a quick little test with 2 sets of radi

<    1   2   3   4   5   6   7   8   9   10   >