CFMAP/JavaScript help

2010-07-06 Thread Pete Ruckelshaus
I'm having a bit of trouble getting some JavaScript working with CFMAP. I currently use a link to center the map and zoom in on a specific location; this code works fine: a

Re: CFMAP/JavaScript help

2010-07-06 Thread Michael Grant
I'm going to guess the problem is that the js is seeing your object as a string. I *think* this would work. Can't say for sure without testing it. I can never remember weather you can use this.value with a select and have it work. You may need to change it to

Re: CFMAP/JavaScript help

2010-07-06 Thread Michael Grant
I can never remember weather Errr... whether. It's still early. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

Re: CFMAP/JavaScript help

2010-07-06 Thread Pete Ruckelshaus
Thanks Michael, that got me a LOT closer...I just needed to add an eval() to your code: onChange=ColdFusion.Map.setCenter('map1', {latitude:eval(this.value.split('|')[0]),longitude:eval(this.value.split('|')[1])});ColdFusion.Map.setZoomLevel('map1',10); Thanks for the help, Pete On Tue, Jul

Re: CFMAP/JavaScript help

2010-07-06 Thread Michael Grant
s'Awsome. On Tue, Jul 6, 2010 at 8:30 AM, Pete Ruckelshaus pruckelsh...@gmail.comwrote: Thanks Michael, that got me a LOT closer...I just needed to add an eval() to your code: onChange=ColdFusion.Map.setCenter('map1',

(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)... script parent.thisMovie('studio_loader_embed').reloadClipart(); parent.thisMovie('studio_loader_embed').showTab(2); /script ...to go through this script... script function thisMovie(movieName

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 mich...@mullertech.com: Ok, I need some Javascript help. I just cannot get this script (residing

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

(ot) javascript help

2008-06-11 Thread Chad Gray
Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a carriage return between the two pieces of text Foo and Moo. I get this error in Firbug: document.tabbedTicket.FTDTYPEe has no properties script function makeNewEntry() {

Re: (ot) javascript help

2008-06-11 Thread Barney Boisvert
try document.getElementById(FTDTYPEe). And then go get some library that will take care of all that for you (jQuery, Prototype, etc.). cheers, barneyb On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray [EMAIL PROTECTED] wrote: Can any javascript gurus tell me why this does not work? I want the br

Re: (ot) javascript help

2008-06-11 Thread Greg Morphis
because br isn't an element of form? try removing the tabbedTicket or use getElementById On Wed, Jun 11, 2008 at 12:34 PM, Chad Gray [EMAIL PROTECTED] wrote: Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a carriage return between

RE: (ot) javascript help

2008-06-11 Thread Dawson, Michael
I may be way off-base, but do you need that trailing e in FTDTYPEe? Could it be the missing e from Firbug? m!ke On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray [EMAIL PROTECTED] wrote: Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a

RE: (ot) javascript help

2008-06-11 Thread Andy Matthews
) javascript help Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a carriage return between the two pieces of text Foo and Moo. I get this error in Firbug: document.tabbedTicket.FTDTYPEe has no properties script function makeNewEntry

Re: (ot) javascript help

2008-06-11 Thread Josh Nathanson
Message - From: Chad Gray [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, June 11, 2008 10:34 AM Subject: (ot) javascript help Can any javascript gurus tell me why this does not work? I want the br tag to display on the page so I get a carriage return between

RE: (ot) javascript help

2008-06-11 Thread Chad Gray
Ah... that makes sense. Thanks everyone for the help! -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 1:39 PM To: CF-Talk Subject: Re: (ot) javascript help because br isn't an element of form? try removing the tabbedTicket or use

javascript help

2007-09-28 Thread Chad Gray
I am taking a page and sending it to CFDocument for a PDF. Is there a way to kill all hyper links on the page so there are no hyperlinks in the PDF? Thanks, Chad ~| Check out the new features and enhancements in the latest

Re: javascript help

2007-09-28 Thread Charlie Griefer
this works in Firefox on XP. not tested beyond that: script type=text/javascript for (var i=0; idocument.getElementsByTagName('a'); i++) { document.getElementsByTagName('a')[i].removeAttribute('href'); } /script On 9/28/07, Chad Gray [EMAIL PROTECTED] wrote: I

Re: javascript help

2007-09-28 Thread Scott Weikert
Chad Gray wrote: I am taking a page and sending it to CFDocument for a PDF. Is there a way to kill all hyper links on the page so there are no hyperlinks in the PDF? Why is this a Javascript question? Just do some regex fun on your output content, stripping all anchor tags, before

OT: javascript help

2007-05-29 Thread Dan Munez
hey guys i have a little window with a link on it opened up a popup window and gave it a name. the new window also has frames in it. I would like to manipulate the forms in that frame, like giving it certain values and stuff, by calling it from the little window. how do I do that? so far i

Re: javascript help

2007-05-29 Thread James Wolfe
hey guys i have a little window with a link on it opened up a popup window and gave it a name. the new window also has frames in it. I would like to manipulate the forms in that frame, like giving it certain values and stuff, by calling it from the little window. how do I do that? so

RE: javascript help

2007-05-29 Thread Andy Matthews
I believe that you have to reference the frame as an array index, similar to the way you can reference form elements. -Original Message- From: Dan Munez [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 9:12 AM To: CF-Talk Subject: OT: javascript help hey guys i have a little window

Re: javascript help

2007-05-29 Thread Tom Chiverton
On Tuesday 29 May 2007, Andy Matthews wrote: I believe that you have to reference the frame as an array index, similar to the way you can reference form elements. Get firefox. Get the firebug extension. Set a break point and poke around the DOM :-) -- Tom Chiverton Helping to confidentially

RE: Javascript help

2006-12-22 Thread Dave Watts
Well since we are being smart asses... the question was how can I clear either one when I click on any one of the radio buttons. One person's smart ass is another's stickler for accuracy. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest

RE: Javascript help

2006-12-22 Thread Bobby Hartsfield
And here I was thinking you had no sense of humor ;-) -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, December 22, 2006 10:43 AM To: CF-Talk Subject: RE: Javascript help Well since we are being smart asses... the question was how can I clear either one

Javascript help

2006-12-21 Thread Doug Brown
I have a form with 2 text fields and some radio button, and what I would like to do is clear any text in the text fields if any of the radio buttons are selected. I can do this with one text field, but not sure how to work it with two This will work with one text field... input type=text

RE: Javascript help

2006-12-21 Thread Bobby Hartsfield
: Thursday, December 21, 2006 3:34 PM To: CF-Talk Subject: Javascript help I have a form with 2 text fields and some radio button, and what I would like to do is clear any text in the text fields if any of the radio buttons are selected. I can do this with one text field, but not sure how to work

Re: Javascript help

2006-12-21 Thread Doug Brown
This seems to work, but will it work in all browser? onFocus=document.updClassified.asking1.value = '',document.updClassified.asking2.value = '' Doug B. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe

RE: Javascript help

2006-12-21 Thread loathe
more difficult when you're creating dynamic SQL as you have to use the single quote. Anyway, hope it helps. -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 3:34 PM To: CF-Talk Subject: Javascript help I have a form with 2 text fields

RE: Javascript help

2006-12-21 Thread loathe
PROTECTED] Sent: Thursday, December 21, 2006 3:51 PM To: CF-Talk Subject: Re: Javascript help This seems to work, but will it work in all browser? onFocus=document.updClassified.asking1.value = '',document.updClassified.asking2.value = '' Doug B

Re: Javascript help

2006-12-21 Thread Charlie Griefer
Subject: Re: Javascript help This seems to work, but will it work in all browser? onFocus=document.updClassified.asking1.value = '',document.updClassified.asking2.value = '' Doug B. ~| Create robust enterprise

RE: Javascript help

2006-12-21 Thread loathe
: Javascript help That should work cross-browser, no? it's pretty standard JS syntax. onfocus=statement1; statement2; statement3... as long as each is separated by a semi-colon it should be ok? On 12/21/06, loathe [EMAIL PROTECTED] wrote: No it won't. For that you'll need a function

RE: Javascript help

2006-12-21 Thread loathe
Also your using a comma and not a semi colon, sorry forgot to add that. -Original Message- From: loathe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 4:07 PM To: CF-Talk Subject: RE: Javascript help No it won't. For that you'll need a function and you'll need

Re: Javascript help

2006-12-21 Thread Charlie Griefer
, but will calling the field that way work cross browser? I don't know, I still write it using different techniques. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 4:09 PM To: CF-Talk Subject: Re: Javascript help That should work

Re: Javascript help

2006-12-21 Thread Christopher Jordan
Check out jQuery. This sort of thing would be a snap in jQuery (http://jQuery.com). Doug Brown wrote: I have a form with 2 text fields and some radio button, and what I would like to do is clear any text in the text fields if any of the radio buttons are selected. I can do this with one

RE: Javascript help

2006-12-21 Thread Bobby Hartsfield
document.forms['myform']['myfield'] .value -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 4:23 PM To: CF-Talk Subject: Re: Javascript help i'm pretty sure it'll work. but of course i say that and invariably someone comes along and proves

RE: Javascript help

2006-12-21 Thread Dave Watts
document.formname.fieldname.value is about as standard as it gets AFAIK. Yes, it is as vanilla as it gets and easiest for most people to read and understand. But if you'd like to make it NOT work in all browsers that can read JS you can try some of these lol

RE: Javascript help

2006-12-21 Thread Bobby Hartsfield
To: CF-Talk Subject: RE: Javascript help document.formname.fieldname.value is about as standard as it gets AFAIK. Yes, it is as vanilla as it gets and easiest for most people to read and understand. But if you'd like to make it NOT work in all browsers that can read JS you can try some

RE: Javascript help

2006-12-21 Thread Dave Watts
You can stack arguments that way, but will calling the field that way work cross browser? Yes, there's nothing wrong with having multiple statements within an event handler, other than readability. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the

RE: Javascript help

2006-12-21 Thread Dave Watts
This seems to work, but will it work in all browser? onFocus=document.updClassified.asking1.value = '',document.updClassified.asking2.value = '' No it won't. For that you'll need a function and you'll need to write a javascript browser diction script and have separate clauses

RE: Javascript help

2006-12-21 Thread Dave Watts
I don't consider Netscape 2 (or IE pre 5) when I use the phrase 'cross browser compatible'. Especially when dealing with JS and/or CSS. I thought the question was, what is the most compatible way to address a form in JS, not what browsers do you prefer to disregard? Right now, the answer to

RE: Javascript help

2006-12-21 Thread Bobby Hartsfield
Well since we are being smart asses... the question was how can I clear either one when I click on any one of the radio buttons. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 7:34 PM To: CF-Talk Subject: RE: Javascript help I don't

Javascript help

2006-06-13 Thread Mik Muller
I'm trying to add some functionality to a stylesheet editor. I'd like the style that the editor is working on to highlight the page area it will effect. This is what I have, but it only works on style IDs and not CLASSes. How can I effect styles by class? Is there a way to temporarily replace

Re: Javascript help

2006-06-13 Thread Bryan Stevenson
Hey Mike...you may have more luck on a list about technical issues and not CF-JOBS-TALK ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web:

Re: Javascript help

2006-06-13 Thread AVK: Web4W3 Inc.
style should be handled as property: style2*.borderWidth* = '1px'; Mik Muller wrote: I'm trying to add some functionality to a stylesheet editor. I'd like the style that the editor is working on to highlight the page area it will effect. This is what I have, but it only works on style IDs

OT: Javascript help

2006-04-20 Thread Ben Nadel
Not really for CF, but though someone here could lend some insight There is one problem in Javascript that I cannot seem to get a handle on and it is killling me! I can't seem to get variables to pass by value as I would hope. Take the following example: for (var intI = 0 ; intI 10 ;

RE: Javascript help

2006-04-20 Thread Bobby Hartsfield
The onclicks are outside of the loop ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:35 AM To: CF-Talk Subject: OT: Javascript help Not really for CF, but though

RE: Javascript help

2006-04-20 Thread Ben Nadel
. ... Ben Nadel www.bennadel.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 10:06 AM To: CF-Talk Subject: RE: Javascript help The onclicks are outside of the loop ...:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com

RE: Javascript help

2006-04-20 Thread Bobby Hartsfield
: Javascript help Not really for CF, but though someone here could lend some insight There is one problem in Javascript that I cannot seem to get a handle on and it is killling me! I can't seem to get variables to pass by value as I would hope. Take the following example: for (var intI = 0

Re: Javascript help

2006-04-20 Thread Rob Wilkerson
www.bennadel.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 10:06 AM To: CF-Talk Subject: RE: Javascript help The onclicks are outside of the loop ...:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original

Re: OT: Javascript help

2006-04-20 Thread Zaphod Beeblebrox
the most I can think of is to evaluate the value right at the function declaration: objA.onclick = eval ('function(){ alert( ' + intI + ' ); };'); On 4/20/06, Ben Nadel [EMAIL PROTECTED] wrote: Not really for CF, but though someone here could lend some insight There is one problem in

RE: OT: Javascript help

2006-04-20 Thread Ben Nadel
-Original Message- From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 10:31 AM To: CF-Talk Subject: Re: OT: Javascript help the most I can think of is to evaluate the value right at the function declaration: objA.onclick = eval ('function(){ alert( ' + intI

RE: Javascript help

2006-04-20 Thread Bobby Hartsfield
Hartsfield http://acoderslife.com -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:35 AM To: CF-Talk Subject: OT: Javascript help Not really for CF, but though someone here could lend some insight There is one problem in Javascript that I

RE: Javascript help

2006-04-20 Thread Bobby Hartsfield
. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:35 AM To: CF-Talk Subject: OT: Javascript help Not really for CF, but though someone here could lend some insight

RE: Javascript help

2006-04-20 Thread Ben Nadel
to a string, which works for simple values, but will not work with complex values. ... Ben Nadel www.bennadel.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 10:49 AM To: CF-Talk Subject: RE: Javascript help

Re: OT: Javascript help

2006-04-20 Thread Cutter (CFRelated)
Asking your question of my javascipt list, the responses were as follows: Repsonse 1 Have you tried this? objA.onclick = new Function (alert( + intI + ) ); Response 2 for (var intI = 0 ; intI 10 ; intI++){ var objA = document.createElement( div ); Place one var objA; before the

RE: Javascript help

2006-04-20 Thread Bobby Hartsfield
, 2006 11:01 AM To: CF-Talk Subject: RE: Javascript help Bobby, I cannot seem to get the onCLick to fire in my browser. Granted I am using IE in Homesite. But, my concern with this solution is that I feel (without testing) that it is string dependent. divCont.setAttribute('onClick', 'alert

Re: OT: Javascript help

2006-04-20 Thread Tanguy Rademakers
Hi Ben, I ran into this problem recently - these really helped me out: http://joust.kano.net/weblog/archive/2005/08/08/a-huge-gotcha-with-javascript-closures and http://jibbering.com/faq/faq_notes/closures.html /t ~|

RE: OT: Javascript help

2006-04-20 Thread Ben Nadel
to an object that doesn't inherently have that attribute. ... Ben Nadel www.bennadel.com -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 1:00 PM To: CF-Talk Subject: Re: OT: Javascript help Asking your question of my

RE: OT: Javascript help

2006-04-20 Thread Ben Nadel
, April 20, 2006 1:19 PM To: CF-Talk Subject: Re: OT: Javascript help Hi Ben, I ran into this problem recently - these really helped me out: http://joust.kano.net/weblog/archive/2005/08/08/a-huge-gotcha-with-javascrip t-closures and http://jibbering.com/faq/faq_notes/closures.html /t

OT: Javascript help.

2005-12-06 Thread J W
I have been beating my head around for the better part of today trying to figure this out.. I am prefilling a textarea with some information. When the page loads, I would like to set focus to the text area and have the cursor position set to the first character in the textarea with the prefilled

RE: Javascript help.

2005-12-06 Thread Bobby Hartsfield
: Javascript help. I have been beating my head around for the better part of today trying to figure this out.. I am prefilling a textarea with some information. When the page loads, I would like to set focus to the text area and have the cursor position set to the first character in the textarea

RE: Javascript help.

2005-12-06 Thread Bobby Hartsfield
: RE: Javascript help. function selTA() { document.formname.fieldname.focus(); } window.onload = selTA; ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 2:24 PM To: CF-Talk

RE: Javascript help.

2005-12-06 Thread Bobby Hartsfield
-Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 2:38 PM To: CF-Talk Subject: RE: Javascript help. Hmmm guess that only places the cursor at the beginning in IE... gimmee a minute :) ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http

Re: Javascript help.

2005-12-06 Thread J W
; ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 2:24 PM To: CF-Talk Subject: OT: Javascript help. I have been beating my head around for the better part of today trying to figure this out.. I am

Re: Javascript help.

2005-12-06 Thread J W
; } window.onload = selTA; /script ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 2:38 PM To: CF-Talk Subject: RE: Javascript help. Hmmm guess that only places

CF/JavaScript help on signup

2005-10-24 Thread Aminova, Elena
Please advise what I can do in Cold Fusion, perhaps using JavaScript? I have a login page and on it, I need when the user enters wrong username and/or password which don't match up in the DB, I need to pop up or display a user friendly message that the entry does not match up, doesn't matter what

Re: CF/JavaScript help on signup

2005-10-24 Thread Charlie Hanlon
. The Platform. The Products. Make the Difference - Original Message - From: Aminova, Elena [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, October 24, 2005 5:20 PM Subject: CF/JavaScript help on signup Please advise what I can do in Cold Fusion, perhaps using JavaScript? I

RE: CF/JavaScript help on signup

2005-10-24 Thread Bobby Hartsfield
: Monday, October 24, 2005 5:26 PM To: CF-Talk Subject: Re: CF/JavaScript help on signup cfif not logon.recordcount script type=text/javascript language=JavaScript alert(In-Valid Login Message); /script cfinclude template= display_login_page.cfm /cfif hth Elena Charlie

OT: Need Javascript Help

2004-11-02 Thread Phillip Perry
Hi, I need some advice about javascript. Could someone contact me offline to discuss it? Thanks. PHil ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.

RE: JAVASCRIPT help

2004-06-29 Thread Pascal Peters
Keep in mind the value property of a select is not supported on all browsers. I usually consider a textbox/textarea empty if there are only spaces (I usually trim the values anyway. Also keep in mind that title and target are properties of the form. To avoid mixing up formfields and properties, I

Re: JAVASCRIPT help

2004-06-28 Thread mavinson
function checkForm() { var title= document.myForm.title.value; var story= document.myForm.story.value; var link= document.myForm.link.value; var target= document.myForm.target.value; var fbString = ''; if (title == '') fbString = fbString + You must enter a title\n; if (story == '') fbString

Re: JAVASCRIPT help

2004-06-28 Thread Asim Manzur
Thanks Mike, That works great. What if the user change the value of the target from to _self or _blank then I need to display the msg to put the Link as well. thanks [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: CF and JavaScript HELP - Maybe OT?

2004-01-15 Thread John Grubb
Forgot to mention we're stuck in CF 4.0, but thanks for the response. Nice to know someone cares ; ). I think I'll have to manually escape each special character withcfset mystring = Replace(mystring, ', \', ALL) Maybe you have a better solution? John -Original Message- From: Ubqtous

Re: CF and JavaScript HELP - Maybe OT?

2004-01-15 Thread Ubqtous
John, On 1/15/2004 at 10:07, you wrote: JG I think I'll have to manually escape each special JG character with cfset mystring = Replace(mystring, ', \', JG ALL) JGMaybe you have a better solution? If CF4 supports replacelist(): cfscript mystring=foo to the bar; lstbad=foo,bar;

CF and JavaScript HELP - Maybe OT?

2004-01-14 Thread John Grubb
Tough day. Alzheimers is acting up. I have the following _javascript_ code: script language=_javascript_ cfloop query=get_individuals cfoutputcfset valuedata=#cattasc_member_id#/cfoutput cfoutputcfset optiontext=#WholeName#/cfoutput cfoutputc=#currentrow#-1;/cfoutput//599 var nopt = new

Re: CF and JavaScript HELP - Maybe OT?

2004-01-14 Thread Ubqtous
John, On Wednesday, January 14, 2004, 4:34:22 PM, you wrote: JG Everything works fine until I get a non alpha-numeric character, JG i.e., ., , ', /, , (, ), in the #WholeName# JG variable. Then, _javascript_ bombs and returns an error: error JG expected ';'. JG Can someone help me with handling

Javascript Help Required

2003-12-30 Thread Shahzad.Butt
Hi I am using following script to change the image for a button on mouseOver (red button) and mouseOut (white button). What I can not achieve or I dont know how to do is when link is active then display image which I am using on mouseOver script language=_javascript_ if (browserVer == 1)

RE: Javascript Help Required

2003-12-30 Thread MILAN MUSHRAN
You have a Syntax error... You missed the double quotes on the first image. b1.src = ""> From: Shahzad.Butt [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: _javascript_ Help Required Date: Tue, 30 Dec 2003 11:40:34 - Hi I am using following script to

RE: Javascript Help Required

2003-12-30 Thread Shahzad.Butt
That must be a mistake writing email however my code works fine. Only problem is that I dont know how to keep the image active (Red One) when a link is active. _ From: MILAN MUSHRAN [mailto:[EMAIL PROTECTED] Sent: 30 December 2003 14:10 To: CF-Talk Subject: RE: _javascript_ Help Required

MY BAD! - RE: JavaScript Help Required

2003-12-30 Thread lee
This is to the _javascript_ problem, _javascript_ Help Required Sorry for the accidental thread start [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Javascript Help

2003-12-18 Thread Andrew Scott
Looking for any help in being able to do the following. I am looking at a string test,test1,test2,test3, and what I would like to do is get the value of these from the form variable sounds simple enough. But how to I get the item out of the string using _javascript_. In coldfusion I would used

RE: Javascript Help

2003-12-18 Thread Matthew Walker
test,test1,test2,test3.split(',') will create an array -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Friday, 19 December 2003 3:03 p.m. To: CF-Talk Subject: _javascript_ Help Looking for any help in being able to do the following. I am looking at a string

RE: Javascript Help

2003-12-18 Thread Michael T. Tangorre
I would use the function called split() which makes an array based on a delimiter passed in (in your case the comma). Then you can loop over the array or access the elements as you need: var x = 'test1,test2,test3,test4'; arElements = x.split(','); would result in... arElements[0] =

RE: Javascript Help

2003-12-18 Thread Andrew Scott
Thanks works a treat Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9686 0485-Fax: 03 9699 7976 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: OT form javascript help

2003-08-22 Thread jonhall
function makeBold(elem_id) { var start_text = 'b'; var end_text = '/b'; if (document.layers || window.opera) return; else if (document.all) { selected_text = document.selection.createRange(); new_text = b + selected_text.text

Re: form/javascript help

2003-08-22 Thread Phillip B
Where can I find the drop-in HTML editor in DWMX? Phillip B. www.LoungeRoyale.com www.FillWorks.com - Original Message - From: Joshua Miller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, August 21, 2003 9:00 PM Subject: RE: form/javascript help Oops, I totally

OT: form/javascript help

2003-08-21 Thread Phillip B
I know this can be done but I stink at java script. I want to select some text in a text field. Then click a graphic on the page and have it put an HTML tag around the selected text in the form field. Any idea on how to do this or where to find the code that does this? Phillip B.

RE: form/javascript help

2003-08-21 Thread Joshua Miller
:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 1:26 PM To: CF-Talk Subject: OT: form/javascript help I know this can be done but I stink at java script. I want to select some text in a text field. Then click a graphic on the page and have it put an HTML tag around the selected text

OT form javascript help

2003-08-21 Thread Phillip B
I know this can be done but I stink at java script. I want to select some text in a text field. Then click a graphic on the page and have it put an HTML tag around the selected text in the form field. Any idea on how to do this or where to find the code that does this? Phillip B.

RE: form/javascript help

2003-08-21 Thread Barney Boisvert
- From: Joshua Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 2:21 PM To: CF-Talk Subject: RE: form/javascript help script function wrapWithTag(formObj,tagname){ formObj.value=+tagname++formObj.value+/+tagname+; } /script form name=myform input type

Re: form/javascript help

2003-08-21 Thread Jeff Garza
Subject: RE: form/javascript help that will wrap the entire form field value. I don't think that it's possible to wrap only a portion with javascript. --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351

RE: form/javascript help

2003-08-21 Thread Joshua Miller
To: CF-Talk Subject: RE: form/javascript help that will wrap the entire form field value. I don't think that it's possible to wrap only a portion with javascript. --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351

Slight OT: JavaScript Help

2002-09-12 Thread Mark A. Kruger - CFG
Folks, Some JavaScript guru out there can answer this in a second. I have a form window with a link that pops up a simple form to add some piece or pieces of data to a lookup table. When the user is done adding, I want them to click a button and have the window close - and the page behind it

RE: Slight OT: JavaScript Help

2002-09-12 Thread Bryan F. Hogan
I think it is something like window.opener.location=('yourlocation.cfm'); -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 9:45 AM To: CF-Talk Subject: Slight OT: JavaScript Help Folks, Some JavaScript guru out there can

RE: Slight OT: JavaScript Help

2002-09-12 Thread Kris Pilles
Why do you want to refresh the window? Why not just have javascript pass the values back to the form and close the top window? -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 9:45 AM To: CF-Talk Subject: Slight OT: JavaScript

RE: Slight OT: JavaScript Help

2002-09-12 Thread Mark A. Kruger - CFG
You get the Guru trophy of the day (I think it's a 9 year old twinkie). That is exactly what I needed. -mk -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 8:54 AM To: CF-Talk Subject: RE: Slight OT: JavaScript Help I think

RE: Slight OT: JavaScript Help

2002-09-12 Thread Mark A. Kruger - CFG
shop/option - I have to be able to set both of these items. I'm sure it's possible, but I've not done it before. -mk -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 8:56 AM To: CF-Talk Subject: RE: Slight OT: JavaScript Help Why do you

Re: Slight OT: JavaScript Help

2002-09-12 Thread Charlie Griefer
- Original Message - From: Mark A. Kruger - CFG [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, September 12, 2002 7:17 AM Subject: RE: Slight OT: JavaScript Help Ok - how would I do that? could I use the window.opener object like window.opener.form[index] type

RE: Slight OT: JavaScript Help

2002-09-12 Thread Kris Pilles
:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 10:26 AM To: CF-Talk Subject: Re: Slight OT: JavaScript Help - Original Message - From: Mark A. Kruger - CFG [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, September 12, 2002 7:17 AM Subject: RE: Slight OT: JavaScript

RE: Slight OT: JavaScript Help

2002-09-12 Thread Mark A. Kruger - CFG
Charlie, Thanks a lot. I appreciate the help from sunny AZ. -mk -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 9:26 AM To: CF-Talk Subject: Re: Slight OT: JavaScript Help - Original Message - From: Mark A. Kruger - CFG

  1   2   >