RE: OT JavaScript question.

2008-11-12 Thread Jim Davis
> -Original Message- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 12, 2008 4:15 PM > To: cf-talk > Subject: Re: OT JavaScript question. > > Adrian Lynch wrote: > > Or do you mean with? > > > > with someObject { >

Re: OT JavaScript question.

2008-11-12 Thread Charlie Griefer
On Wed, Nov 12, 2008 at 1:14 PM, Ian Skinner <[EMAIL PROTECTED]> wrote: > > Yes that is the one I was looking for!. I found 'with' to be a very > poor search term on Google, or any search engine for that matter. > heh. reminds me of http://bash.org/?514353 :) -- I have failed as much as I hav

Re: OT JavaScript question.

2008-11-12 Thread Ian Skinner
Adrian Lynch wrote: > Or do you mean with? > > with someObject { > var1 = "not"; > var2 = "sure"; > var3 = "about"; > var4 = "this"; > var5 = "syntax"; > var6 = "or"; > var7 = "whether"; > var8 = "it's a JavaScript"; > var9 = "thing or not"; > }

RE: OT JavaScript question.

2008-11-12 Thread Adrian Lynch
it's a JavaScript"; var9 = "thing or not"; } alert(someObject.var1); Adrian Building a database of ColdFusion errors at http://cferror.org/ -----Original Message- From: Ian Skinner Sent: 12 November 2008 19:34 To: cf-talk Subject: OT JavaScript question. Quick que

RE: OT JavaScript question.

2008-11-12 Thread Andy Matthews
You can do this: Var something = somethingelse = onemorething = 0; -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 1:34 PM To: cf-talk Subject: OT JavaScript question. Quick question that I just can not think of the right terms to find

Re: OT JavaScript question.

2008-11-12 Thread Cutter (CFRelated)
var myObj = { variableA: 'some value', variableB: 12, variableC: function(){ // a function } }; I think, you'll want to test. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://bl

OT JavaScript question.

2008-11-12 Thread Ian Skinner
Quick question that I just can not think of the right terms to find in Google. There is a syntax short cut in JavaScript if you are assigning several properties to the same object. What is it? ~| Adobe® ColdFusion® 8 softwar

RE: (ot) Javascript Question...

2008-05-16 Thread Che Vilnonis
Thanks. Because of popup blockers I guess a regular href will have to do. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 4:21 PM To: CF-Talk Subject: RE: (ot) Javascript Question... window.open() most popup blockers will block it though

RE: (ot) Javascript Question...

2008-05-16 Thread Bobby Hartsfield
window.open() most popup blockers will block it though. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 4:14 PM To: CF-Talk Subject: (ot) Javascript Question

(ot) Javascript Question...

2008-05-16 Thread Che Vilnonis
I have a form that posts to itself. Once submitted, I create a dynamic url on the fly. Using javascript, how can I submit the form to itself and open the new url in another browser window? Can this be done w/o creating a 'go between' cf template? Thanks, Che

OT: Javascript Question

2007-04-12 Thread Scott Stewart
Hey all, How would I control a select tag based on this. function updateSelectedJournals(responseStruct) { $('selectedJournals').innerHTML = "Selected Journals ("+responseStruct.total+")"; $('lstSelectedTerms').innerHTML = responseStruct.lstoutput; I hav

OT: Javascript Question

2007-03-07 Thread Brad Wood
Hi guys, I've got a JavaScript question which has me puzzled. Can an instance of a JavaScript object "know" the name of its instance? That might not make any sense, so I have some quick sample code. Consider the following: customObject = function() {

Re: OT: Javascript question

2006-05-25 Thread Tony
true. its still very alpha stage... but its very simple to change to that! good idea. tw On 5/25/06, Michael Traher <[EMAIL PROTECTED]> wrote: > try dropping #chr(10)# into the string, I think that will work. > > might be nicer to set one display variable earlier > > then you can just refer to

Re: OT: Javascript question

2006-05-25 Thread Michael Traher
try dropping #chr(10)# into the string, I think that will work. might be nicer to set one display variable earlier then you can just refer to #infoText in the js. On 5/25/06, Tony <[EMAIL PROTECTED]> wrote: > > Hi there... this should be quick and easy for you Jscript ninja's... > > in this line

NEVERMIND, thanks! Re: OT: Javascript question

2006-05-25 Thread Tony
nevermind, it works now, i guess i had another problem the day i was testing this, and that was not the issue. it works all good. thanks! tony On 5/25/06, Tony <[EMAIL PROTECTED]> wrote: > Hi there... this should be quick and easy for you Jscript ninja's... > > in this line: > marker.openInf

OT: Javascript question

2006-05-25 Thread Tony
Hi there... this should be quick and easy for you Jscript ninja's... in this line: marker.openInfoWindowHtml("#url.address# #url.city# #url.state# #url.zip# Report time: #url.time# Report Date: #url.date# "); i want to put 's so that the text, line breaks, and the pop up window isnt huge. an

OT: Javascript question...or suggestion where to go to get answer

2006-01-29 Thread Eric Roberts
I have a JavaScript dilemma in one of my CF apps and I am not sure how to solve it. We have popup that is used to modify some values in the database before running a report. We want this popup to close if you click on another window. I tried putting close in an onBlur event as part of the body t

RE: Quick OT Javascript question. PART 2

2005-06-14 Thread Micha Schopman
-- - -Original Message- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: dinsdag 14 juni 2005 14:02 To: CF-Talk Subject: Quick OT Javascript question. PART 2 Another question: In my previous question.. I needed to grab the currently selected option from a select list. I can now ge

RE: Quick OT Javascript question. PART 2

2005-06-14 Thread Jeff Waris
nch [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 14, 2005 9:18 AM > To: CF-Talk > Subject: RE: Quick OT Javascript question. PART 2 > > > Yup. Use this notation: > > document.myform[colortype].value; > > From the looks of your code, the generate

RE: Quick OT Javascript question. PART 2

2005-06-14 Thread Jeff Waris
from my question to formulate the answer I need. Hope that makes some sense.. Jeff > -Original Message- > From: Adam Haskell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 14, 2005 9:29 AM > To: CF-Talk > Subject: Re: Quick OT Javascript question. PART 2 > > >

Re: Quick OT Javascript question. PART 2

2005-06-14 Thread Adam Haskell
any reason you are puttting all these into hidden form values? Why not just build and associative array and use that to lookuop the rating it will save bandwidth, it will be valid, and look more professional. The lookup would be the same AsociativeArrayName[selectedValue] will give you the rating.

RE: Quick OT Javascript question. PART 2

2005-06-14 Thread Adrian Lynch
rom: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: 14 June 2005 14:02 To: CF-Talk Subject: Quick OT Javascript question. PART 2 Another question: In my previous question.. I needed to grab the currently selected option from a select list. I can now get the selected value using this code... var Sel

Quick OT Javascript question. PART 2

2005-06-14 Thread Jeff Waris
Another question: In my previous question.. I needed to grab the currently selected option from a select list. I can now get the selected value using this code... var SelOpt = document.myform.colors.options.selectedIndex; var colortype = document.myform.colors[SelOpt].value; I now need to get t

RE: Quick OT Javascript question.

2005-06-14 Thread Jeff Waris
alk > Subject: Re: Quick OT Javascript question. > > > >>How do I grab the CURRENTLY selected option in a select list > > document.myform.colors.selectedIndex > > (Be careful not spelling "Document" with an upper case). > > -- > ___

Re: Quick OT Javascript question.

2005-06-13 Thread Claude Schneegans
>>var SelOpt = document...options.selectedIndex; Not sure this will work: selectedIndex is a property of the select object, not of the options array. var SelOpt = document...selectedIndex; should work better. ___ REUSE CODE! Use custom tags; See http://www

Re: Quick OT Javascript question.

2005-06-13 Thread Sergey Croitor
Hello Jeff, Monday, June 13, 2005, 11:44:18 PM, you wrote: JW> 4:50 Ponderings... JW> How do I grab the CURRENTLY selected option in a select list WITHOUT knowing JW> how many options. (the options are dynamically created) JW> Say we have in select colors JW> Red JW> Green JW> Blue JW> Docu

Re: Quick OT Javascript question.

2005-06-13 Thread Claude Schneegans
>>How do I grab the CURRENTLY selected option in a select list document.myform.colors.selectedIndex (Be careful not spelling "Document" with an upper case). -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Ple

RE: Quick OT Javascript question.

2005-06-13 Thread Matt Osbun
From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 3:44 PM To: CF-Talk Subject: Quick OT Javascript question. 4:50 Ponderings... How do I grab the CURRENTLY selected option in a select list WITHOUT knowing how many options. (the options are dynamically created) Say we

Re: Quick OT Javascript question.

2005-06-13 Thread Charlie Griefer
use the selectedIndex property. document.myform.colors.options[document.myform.colors.selectedIndex].value document.myform.colors.options[document.myform.colors.selectedIndex].text On 6/13/05, Jeff Waris <[EMAIL PROTECTED]> wrote: > 4:50 Ponderings... > > How do I grab the CURRENTLY selected opt

Re: Quick OT Javascript question.

2005-06-13 Thread Howie Hamlin
Sorry - a more complete example would be: var SelOpt = document...options.selectedIndex; then document.myform.colors[SelOpt].value HTH, Howie --- On Monday, June 13, 2005 4:44 PM, Jeff Waris scribed: --- > > 4:50 Ponderings... > > How do I grab the CURRENTLY selected option in a select list

Re: Quick OT Javascript question.

2005-06-13 Thread Howie Hamlin
document...options.selectedIndex; HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion and BlueDragon applications Find out how iMS Stacks

Re: Quick OT Javascript question.

2005-06-13 Thread Dustin Tinney
document.myform.colors.length gives you a variable that you can loop on and find the selected item. On 6/13/05, Jeff Waris <[EMAIL PROTECTED]> wrote: > 4:50 Ponderings... > > How do I grab the CURRENTLY selected option in a select list WITHOUT knowing > how many options. (the options are dynamica

Re: Quick OT Javascript question.

2005-06-13 Thread Bryan Stevenson
the property is selectedIndex I'm kinda rutsy but it's something like document.MyForm.MySelectBox.selectedIndex HTH Cheers 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: [EMAI

Quick OT Javascript question.

2005-06-13 Thread Jeff Waris
4:50 Ponderings... How do I grab the CURRENTLY selected option in a select list WITHOUT knowing how many options. (the options are dynamically created) Say we have in select colors Red Green Blue Document.myform.colors[1].value would be the selected one, but how would you figure that out dyna

Re: OT: Javascript question...

2005-05-10 Thread Charlie Griefer
Mark: Is the innerHTML property an option? that'd handle the s much easier. On 5/10/05, Mark A Kruger <[EMAIL PROTECTED]> wrote: > I want to manipulate the "innerText" property of a tag. It works fine > except that I can't seem to put in a linefeed or break. I tried all the > following without

OT: Javascript question...

2005-05-10 Thread Mark A Kruger
I want to manipulate the "innerText" property of a tag. It works fine except that I can't seem to put in a linefeed or break. I tried all the following without success. Does anyone know how to get a linebreak in there? -mark

OT: Javascript question...

2005-05-10 Thread Pascal Peters
divName.innerHTML += "some new text" + ""; This should work Pascal >I want to manipulate the "innerText" property of a tag. It works fine >except that I can't seem to put in a linefeed or break. I tried all the >following without success. Does anyone know how to get a linebreak in there? > >-m

Re: OT: Javascript Question. JS Wizards needed!

2005-04-13 Thread Charlie Griefer
(not tested) :) #i# function changeDisplay(fVal) { document.getElementById('displayValue').innerHTML = fVal - 1; } On 4/13/05, Che Vilnonis <[EMAIL PROTECTED]> wrote: > > Any JS wizards out there? I have a simple FORM... > > > > #i# > > > > What I would like to do is to display the

OT: Javascript Question. JS Wizards needed!

2005-04-13 Thread Che Vilnonis
Any JS wizards out there? I have a simple FORM... #i# What I would like to do is to display the pulldown's value (minus 1) further down on the page as 'text' that is not a part of a FORM's input box. As the pulldown's value is changed, the text is changed. Any

RE: OT: Javascript question

2005-01-24 Thread Micha Schopman
Javascript supports what they call, the trenary operator (hopely called it right). var result = comparison ? true value : false value; So you can do if(a == b){ return true; }else{ return false; } or return a == b ? true : false; or for the diehard javascript lovers.. *wink* co

Re: OT: Javascript question

2005-01-24 Thread Claude Schneegans
>>My guess is that this is some kind of shorthand for an if-then-else Your guess is right. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: OT: Javascript question

2005-01-24 Thread Ben Doom
> F.value = S < 0 ? "?? " + F.value : (new Date(2000, 0, 1, S[0], > S[1])).USlocaltimeStr(); IIRC, if the bit before the ? is true, return the value before the colon; else return the bit after the colon. --Ben ~| Find out how

Re: OT: Javascript question

2005-01-24 Thread Barney Boisvert
You're exactly right. It's kind of like the IIF() function in CF. (condition) ? (do if true) : (do if false); cheers, barneyb On Mon, 24 Jan 2005 10:33:30 -0800, Rebecca Wells <[EMAIL PROTECTED]> wrote: > Can anyone tell me please what do question marks and colon symbols > signify in a javascr

OT: Javascript question

2005-01-24 Thread Rebecca Wells
Can anyone tell me please what do question marks and colon symbols signify in a javascript command? For example: F.value = S < 0 ? "?? " + F.value : (new Date(2000, 0, 1, S[0], S[1])).USlocaltimeStr(); My guess is that this is some kind of shorthand for an if-then-else control structure, but I've

OT: JavaScript question.

2004-10-01 Thread Ian Skinner
Hopefully this is an easy one, but I'm not sure how to describe it concise enough to Google. I have the following bit of _javascript_: node.childNodes[0].> {    showHideAllDivs ( navRoot.parentNode.id, this.innerHTML.replace(/[^A-Za-z]/g,""), this.id ); return false; } [white space m

Re: ot: javascript question

2004-08-17 Thread Scott Brady
I'd say each select should have the same onchange call ( ) where the checkSels() function will check every select box and validate that they didn't duplicate a selection. If they did, then send them back to the one they came from (which is why you're passing the changed select box into the functio

Re: ot: javascript question

2004-08-16 Thread Daniel Farmer
Because your needs are so specific. I think you're going to have to create your own JS Functions that will prevent these select menus from displaying certain values. It's too complex to do it inline like that. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settin

ot: javascript question

2004-08-16 Thread Tony Weeg
hello good peoples... i have a _javascript_ question, that really aims for a coupla things... 1. can this be done elegantly? 2. if not, then whats the best non-elegant way? 3. if so, a bit of a point in the right direction...i can READ _javascript_, most of the time, and tell ya whats going on...

Re: OT: JavaScript Question.

2004-08-13 Thread S . Isaac Dealey
> I have a money field that needs to be greater than $0.01. > The field may > or may not contain a dollar sign ($) and may or may not > contain a period > (.) as a dollar/cents split. When the form loads the > default value is > $0.00 > What would be the easiest way to verify the amount is > great

OT: JavaScript Question.

2004-08-13 Thread Tangorre, Michael
I have a money field that needs to be greater than $0.01. The field may or may not contain a dollar sign ($) and may or may not contain a period (.) as a dollar/cents split. When the form loads the default value is $0.00 What would be the easiest way to verify the amount is greater than 1 cent (0.

Re: OT: Javascript question

2003-09-24 Thread Ben Doom
You should be able to just change screenX and screenY to place the upper left hand corner of the popup anywhere you want. --Ben Doom Eric Creese wrote: > Here is the code I use to call a popupwindow. I want to beable to place the smaller > popup window where I want, pereferabley in the lower

OT: Javascript question

2003-09-24 Thread Eric Creese
Here is the code I use to call a popupwindow. I want to beable to place the smaller popup window where I want, pereferabley in the lower right corner. How do I do this? myWin= open(url, "displayWindow", "width=415,height=400,status=no,scrollbars=yes,toolbar=no,menubar=no,location=yes,scr

Re: OT: JavaScript question??

2003-08-26 Thread Charlie Griefer
EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 9:35 AM Subject: Re: OT: JavaScript question?? > Mario, > > try doing this. > document.selectedIndex == null > > I believe that will tell check if the user has selected anything in the > drop-down box. > > Hope th

Re: OT: JavaScript question??

2003-08-26 Thread Salvador Delacosta
AIL PROTECTED]> >Subject: OT: JavaScript question?? >Date: Fri, 22 Aug 2003 18:07:16 -0400 > >Hi all, > >Sorry for the OT on JavaScript but I cannot figure out how to tell if >someone has selected in option in the box. I know how to do it if the I >add another option at the beginn

Re: OT: JavaScript question??

2003-08-26 Thread Salvador Delacosta
AIL PROTECTED]> >Subject: OT: JavaScript question?? >Date: Fri, 22 Aug 2003 18:07:16 -0400 > >Hi all, > >Sorry for the OT on JavaScript but I cannot figure out how to tell if >someone has selected in option in the box. I know how to do it if the I >add another option at the beginn

Re: OT: JavaScript question??

2003-08-25 Thread Salvador Delacosta
AIL PROTECTED]> >Subject: OT: JavaScript question?? >Date: Fri, 22 Aug 2003 18:07:16 -0400 > >Hi all, > >Sorry for the OT on JavaScript but I cannot figure out how to tell if >someone has selected in option in the box. I know how to do it if the I >add another option at the beginn

OT: JavaScript question??

2003-08-22 Thread Ciliotta, Mario
Hi all, Sorry for the OT on JavaScript but I cannot figure out how to tell if someone has selected in option in the box. I know how to do it if the I add another option at the beginning: Please select one... and then use : documentoptions[0].selected to see if the first one is sele

Re: OT JavaScript question

2003-07-23 Thread Matthew Walker
Yeah, it's the only one I could think of without opening Topstyle. I guess I'm colonised by Microsoft. - Original Message - From: "Craig Dudley" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 1:04 AM Subject:

RE: OT JavaScript question

2003-07-23 Thread Craig Dudley
ctric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: "Ian Skinner" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 3:17 AM Subject: OT JavaScript question > Is there a way in JavaScript to change th

RE: OT JavaScript question

2003-07-22 Thread Ian Skinner
o! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/} -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 2:20 PM To: CF-Talk Subject: Re: OT JavaScript question Well, the default behaviour is that you define a

Re: OT JavaScript question

2003-07-22 Thread Matthew Walker
://www.electricsheep.co.nz/ - Original Message - From: "Ian Skinner" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 3:17 AM Subject: OT JavaScript question > Is there a way in JavaScript to change the state of the mous

RE: OT JavaScript question

2003-07-22 Thread Tony Weeg
410.860.2337 -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 11:17 AM To: CF-Talk Subject: OT JavaScript question Is there a way in JavaScript to change the state of the mouse pointer onMouseOver for example? -- Ian Skinner Web Programmer

OT JavaScript question

2003-07-22 Thread Ian Skinner
Is there a way in JavaScript to change the state of the mouse pointer onMouseOver for example? -- Ian Skinner Web Programmer BloodSource Sacramento, CA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?foru

RE: -OT- Javascript Question - follow up

2003-01-17 Thread Lofback, Chris
rm fields like this: That should do it. Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com > -Original Message- > From: Thane Sherrington [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 9:25 AM > To: CF-Talk &g

RE: -OT- Javascript Question - follow up

2003-01-17 Thread Thane Sherrington
At 11:41 AM 01/16/03 -0500, Lofback, Chris wrote: >Use "formField.focus();" I tried this. No soap. Interestingly enough, it works in NS 4.8, but not in IE 6.0.2800.1106 (love that numbering scheme.) And I just tried it on another machine with IE 5.5, and the same thing. The alert displays, b

RE: -OT- Javascript Question - follow up

2003-01-16 Thread Lofback, Chris
alk > Subject: RE: -OT- Javascript Question - follow up > > > At 09:16 AM 01/16/03 -0500, Timothy Heald wrote: > >function VerifyCode(thisField){ > > alert(thisField.name); > >} > > This worked, but now I'm having a problem with the focus. > I

RE: -OT- Javascript Question - follow up

2003-01-16 Thread Thane Sherrington
At 09:16 AM 01/16/03 -0500, Timothy Heald wrote: >function VerifyCode(thisField){ > alert(thisField.name); >} This worked, but now I'm having a problem with the focus. I'm using the following script. function VerifyCode(formField) { if (formField.valu

RE: -OT- Javascript Question

2003-01-16 Thread Thane Sherrington
tAt 09:16 AM 01/16/03 -0500, Timothy Heald wrote: >say your What do you name the variable in your function definition? > >function VerifyCode(thisField){ > alert(thisField.name); >} > >That should work. Excellent. Thanks. T ~~

Re: -OT- Javascript Question

2003-01-16 Thread Marius Milosav
-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 9:12 AM Subject: -OT- Javascript Question > I'm passing a field name to a javascript function like this: > onchange="VerifyCode(this);" > > And I want to display the name of the field in the fun

RE: -OT- Javascript Question

2003-01-16 Thread Timothy Heald
: -OT- Javascript Question I'm passing a field name to a javascript function like this: onchange="VerifyCode(this);" And I want to display the name of the field in the function, like this: var ErrorMsg="Code is wrong in"+PassedFieldName; Alert(ErrorMsg); But when

-OT- Javascript Question

2003-01-16 Thread Thane Sherrington
I'm passing a field name to a javascript function like this: onchange="VerifyCode(this);" And I want to display the name of the field in the function, like this: var ErrorMsg="Code is wrong in"+PassedFieldName; Alert(ErrorMsg); But when I do that, I get [object] instead of the fieldname. Is the

Re: Sorta OT: Javascript Question/PayPal question

2002-06-01 Thread Justin Scott
stin Scott, Lead Developer Sceiron Internet Services, Inc. http://www.sceiron.com - Original Message - From: "Mark Smeets" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, June 01, 2002 8:25 PM Subject: Sorta OT: Javascript Question/PayP

Re: Sorta OT: Javascript Question/PayPal question

2002-06-01 Thread Jason Miller
Probably not much help - but in the least you can check the refering site with #CGI.referer# and it if contains paypal.com or something - you can say thanks or - please pay through paypal. But that assumes they are paying through paypal and coming right back. And of course - paypal did come up wi

Sorta OT: Javascript Question/PayPal question

2002-06-01 Thread Mark Smeets
Hello everyone, I've 2 questions, they are doozies too. Client wants to sell his little online e-book for 5$/chapter, decided to go with PayPal beceause well, no funds to spend on things like verisign and so forth. (Yes I know about some of the horror stories of PayPal.) First, I don't think yo

Re: OT JavaScript Question

2001-12-13 Thread Alex
The to programming is not to repeat. Anyway, you can call a function from a function. function a (){ b(); } function b (){ alert "hi"; } On Wed, 12 Dec 2001, Double Down wrote: > I have several different Java Scripts that I want to run at once. All of > them have to deal with c

Re: OT JavaScript Question

2001-12-12 Thread Don Vawter
function master(){ f1(); f2(); .. fn(); } or am I missing something? - Original Message - From: "Double Down" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 6:31 PM Subject: OT JavaScript Quest

OT JavaScript Question

2001-12-12 Thread Double Down
I have several different Java Scripts that I want to run at once. All of them have to deal with checking a form. I want to run all of them at once, but each one requires a different function, I want to combine all of them into one function and run them at the same time. Can anyone help with thi

OT - Javascript question

2001-10-18 Thread Ryan Edgar
I have a dynamically generated form and I wish to do validation on some of the fields using Javascript. Basically I am ensuring that numeric data is entered - simple enough to validate, but the problem occurs when there are units such as currency that need to be submitted along with the value. F

OT - Javascript question

2001-10-18 Thread Ryan Edgar
I have a dynamically generated form and I wish to do validation on some of the fields using Javascript. Basically I am ensuring that numeric data is entered - simple enough to validate, but the problem occurs when there are units such as currency that need to be submitted along with the value. F

Re: OT: JavaScript Question: ADVANCED

2001-08-28 Thread Jon Hall
Javascript is client side so it is executed on after all CF code is executed, so cflocations are irrelavant to javascript. It doesn't matter if you cflocated, meta refreshed, or teleported to the currently loaded document. The document.location property will always return the current url. jon

OT: JavaScript Question: ADVANCED

2001-08-28 Thread BT
There is the JavaScript variable that gets the value of the Address bar of another frame (+parent.topwindow.document.location). Does anyone if the variable changes along with redirects and META refreshes or is only the value of the address when loaded? IF it does look at the "live" address would i

Re: OT Javascript question

2001-05-24 Thread Stuart Duncan
I had to do a lot of form mathematics with javascript, and in order to force the fields to recognize the fields as numerics instead of strings, I had to parsefloat() around the value. So my form fields looked like this. parseFloat(document.form.field.value) + 1; In your case, you may have to

RE: OT Javascript question

2001-05-24 Thread Andy Ewings
15 To: CF-Talk Subject: RE: OT Javascript question parseInt() is a method of the String object, so try elt.value = elt.value.parseInt() + 1; -Original Message- From: Andy Ewings [mailto:[EMAIL PROTECTED]] Sent: 24 May 2001 13:58 To: CF-Talk Subject: RE: OT Javascript question MopeI

RE: OT Javascript question

2001-05-24 Thread alistair . davidson
parseInt() is a method of the String object, so try elt.value = elt.value.parseInt() + 1; -Original Message- From: Andy Ewings [mailto:[EMAIL PROTECTED]] Sent: 24 May 2001 13:58 To: CF-Talk Subject: RE: OT Javascript question MopeI tried this Nick but it kept complaining at the

RE: OT Javascript question

2001-05-24 Thread Andy Ewings
e- From: DeVoil, Nick [mailto:[EMAIL PROTECTED]] Sent: 24 May 2001 12:32 To: CF-Talk Subject: RE: OT Javascript question Andy Does this work? function test(controlnum) { elt = document.forms[0]["interest" + interest]; elt.value = parseInt(elt.value) + 1; } Nick -Orig

RE: OT Javascript question

2001-05-24 Thread DeVoil, Nick
Andy Does this work? function test(controlnum) { elt = document.forms[0]["interest" + interest]; elt.value = parseInt(elt.value) + 1; } Nick -Original Message- From: Andy Ewings [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 12:18 PM To: CF-Talk Subject: OT

RE: OT Javascript question

2001-05-24 Thread alistair . davidson
-- From: Andy Ewings [mailto:[EMAIL PROTECTED]] Sent: 24 May 2001 12:18 To: CF-Talk Subject: OT Javascript question I'm having a mind blankarghhh. I'm trying to incremtnet the value of a control in a form by one where part of the controls name is poassed in as a variable. Probably be

OT Javascript question

2001-05-24 Thread Andy Ewings
I'm having a mind blankarghhh. I'm trying to incremtnet the value of a control in a form by one where part of the controls name is poassed in as a variable. Probably best I explain with the code snippet: function test(controlnum) { "document.forms[0].interest" + interest + ".value"

Re: OT Javascript question

2001-04-20 Thread Bryan LaPlante
In IE4 and up event.keyCode(13) is the enter key - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 12:45 PM Subject: Re: OT Javascript question > > i know there is in NS but i'm not sure

Re: OT Javascript question

2001-04-20 Thread savan . thongvanh
i know there is in NS but i'm not sure about IE in NS you can enable event capturing and inherent to that is the type of event. i.e., a key stroke and the key depressed see developer.netscape.com for more on this document.captureEvents(ONKEYPRESS); function myHandler(e){ //where e is the eve

RE: OT Javascript question

2001-04-20 Thread Semrau, Steven L Mr SRA
3) 805-1095 DSN: (703) 655-1095 -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 11:49 AM To: CF-Talk Subject: OT Javascript question Hi, Does anyone know if it is possible to capture key strokes with javascript. In other words, can I cr

OT Javascript question

2001-04-20 Thread Will Swain
Hi, Does anyone know if it is possible to capture key strokes with javascript. In other words, can I create a onReturn event which fires when the user hits the return button on their keyboard? Cheers Will Swain Hot Horse Ltd ~~ Structure your

ot: javascript question

2001-04-19 Thread Bruce, Rodney
I am having a problem with running javascript on in a second(popup) window. from the calling page I use: windnow.open("file.cfm"); when the page first opens everything works fine, but when I call a function to rewrite the page, the next time I try to call any function, I get the err

Re: Slightly OT....Javascript question

2000-12-13 Thread Jay Brushett
Use the eval function. eval("document.Slider" + i + ".GetValue()"); Roughly. Jay At 05:48 PM 12/13/2000 +, you wrote: >OK guys and girls...slightly ot question but it's bugging me! In part of a >Javasript function I am trying to loop through a collection of controls and >adding their valu

RE: Slightly OT....Javascript question

2000-12-13 Thread Andy Ewings
ECTED]] Sent: 13 December 2000 17:49 To: CF-Talk Subject: Slightly OTJavascript question OK guys and girls...slightly ot question but it's bugging me! In part of a Javasript function I am trying to loop through a collection of controls and adding their value to a list which is then the

Slightly OT....Javascript question

2000-12-13 Thread Andy Ewings
OK guys and girls...slightly ot question but it's bugging me! In part of a Javasript function I am trying to loop through a collection of controls and adding their value to a list which is then the value of a text box. Here is the code: var i = 1; while(i <= document.skills.slidercount.value)

Re: OT: Javascript Question

2000-09-15 Thread Stuart Duncan
You have to use Style sheets. Stuart Duncan MaracasMedia Inc. At 12:41 PM 9/15/00 -0500, you wrote: >Anyone know how code the size of the font for text in a dropdown box. > >I know it works for Netscape.but I'm looking for an IE solutions. > >Thanks > >Todd Everling >-

OT: Javascript Question

2000-09-15 Thread Todd Everling
Anyone know how code the size of the font for text in a dropdown box. I know it works for Netscape.but I'm looking for an IE solutions. Thanks Todd Everling -- Archives: http://www.mail-archive.com/cf-talk@houseoffu

Re: (OT) Javascript Question

2000-09-05 Thread John Andrichak IV
, 2000 11:25 PM Subject: RE: (OT) Javascript Question > Now will this make it so they can't click the sumit image again? > > Bob Everland > > -Original Message- > From: John Andrichak IV [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 31, 2000 12:54 PM &

RE: (OT) Javascript Question

2000-09-01 Thread Robert Everland III
Now will this make it so they can't click the sumit image again? Bob Everland -Original Message- From: John Andrichak IV [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 31, 2000 12:54 PM To: [EMAIL PROTECTED] Subject: Re: (OT) Javascript Question Why don't you check to

  1   2   >