> -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 {
>
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
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";
> }
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
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
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
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
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
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
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
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
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()
{
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
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, 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
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
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
--
-
-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
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
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
>
>
>
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.
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
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
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).
>
> --
> ___
>>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
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
>>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
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
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
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
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
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
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
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
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
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
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
(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
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
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
>>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.
> 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
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
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
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
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
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
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...
> 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
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.
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
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
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
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
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
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
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
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:
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
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
://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
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
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
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
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
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
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
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
~~
-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
: -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
--
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
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"
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
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
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
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
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
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
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
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)
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
>-
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
, 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
&
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 - 100 of 105 matches
Mail list logo