You're very welcome.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-
If the user is typing something other than what is expected to be found
in the array then they are being naughty to begin with.
Thanks for the new comparison code. That does the trick.
Michael Grant wrote:
> Best I can tell from a quick glance is that you are comparing the wrong
> things. I th
Best I can tell from a quick glance is that you are comparing the wrong
things. I think what you want to do is this:
konami.indexOf( kkeys.toString() )
However the logic looks off to me. You just keep adding to the array without
ever clearing it, so the array is going to get massive if the user
My javascript is WAY rusty. Coudl someone take a quick look at this and
tell me what bonehead thing I am doing wrong?
This works in FF, but not IE.
if(window.addEventListener) {
alert("ff detected");
var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65";
window.addEventL
ill respond later, but you are close, just not 100% on it.
tw
On Tue, Feb 10, 2009 at 10:48 AM, Michael Grant wrote:
>
> So let me see if I got this right.
>
> You have a left column which contains a bunch of checkboxes. A right column
> with divs to display content.
> When a checkbox is checke
So let me see if I got this right.
You have a left column which contains a bunch of checkboxes. A right column
with divs to display content.
When a checkbox is checked/unchecked you want the content div on the right
to update and reflect what's been chosen.
Is that all or is there a database upda
hahaha, all good manits hard to impart context
sometimes, and if you were in front of me, you'd a been laughing
while i asked the question. the reason being, i had been
debugging my VERY FIRST ajax stuff for ~7 hrs, and you shouldnt
try to pen an email at that point. hennyway.
i am using ajaxCf
Yw rasta,
I mean no offence by over explaining. I don't know you or your skill sets
very well and am just trying to help. Based on your most recent description
of what it is you want I don't see why you need javascript at all. That
being said I know js quite well and would be happy to help you wh
:) come on man, this is basic html/cf stuff i know this stuff... i
guess im just a bit
lost in the javascript side of things, and thats where im hungup...
ill explain more
later, im trying to figure some other things out now...
but thank ye... i think your original reply will be the best help.
t
Ian Skinner wrote:
> What Mike and I have been trying to get across is that same names good,
> same ids bad. Providing a group of check box or radio controls the same
> name is the proper way to get the desired behavior you described. But
> do not give them the same ids. Either leave the ids
Rastafari wrote:
> how would i do this same easy thing without the same id/name?
>
> tw
What Mike and I have been trying to get across is that same names good,
same ids bad. Providing a group of check box or radio controls the same
name is the proper way to get the desired behavior you describ
It looks like you are confusing the input parameters "name" and "id." They
are different. ID is part of the DOM and has nothing to do with forms
specifically. You can't get the id value from a form when it's submitted to
CF, only the name. That's what form.fieldNames consists of, names.
I'm also
ok, first of all, thanks mike.
second of all...
how do you handle this then?
i have a set of checkboxes that i want to get the value
on the next page, via cfml.
i also want them to be able to be checked as well
as unchecked. and on my subsequent page, get to all of them.
if i make them all the sa
...or you could just loop through it like I said. Three lines of code, zing
zing. Why does everyone always try to over complicate this stuff?
> but in a situation where you only want one to be checkd
> at a time, how else do you do that?
Well radio buttons SHOULD have the same name. That's the wh
Rastafari wrote:
> i get that you shouldnt have radio buttons with same name
> but in a situation where you only want one to be checkd
> at a time, how else do you do that?
>
> tw
Different IDs, if they are required, but the same name. It is the name
that is important for radio and check box co
k... thanks chowlee.
ill be back with more questions
:)
tw
On Mon, Feb 9, 2009 at 3:11 PM, Charlie Griefer
wrote:
>
> On Mon, Feb 9, 2009 at 11:50 AM, Tony wrote:
>
>>
>> i want that alert to tell me how many checkboxes with the
>> id="updateFirmware" there are.
>> its telling me that fields
On Mon, Feb 9, 2009 at 11:50 AM, Tony wrote:
>
> i want that alert to tell me how many checkboxes with the
> id="updateFirmware" there are.
> its telling me that fields is null :(
>
> help.
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
>
>
>
i get that you shouldnt have radio buttons with same name
but in a situation where you only want one to be checkd
at a time, how else do you do that?
tw
On Mon, Feb 9, 2009 at 3:01 PM, Michael Grant wrote:
>
> You're going to have to loop through form.elements and count them. Note,
> this isn't
Whoops, I think that should be "i wrote:
> You're going to have to loop through form.elements and count them. Note,
> this isn't tested and just off the top of my head. Can't remember if you
> refer to id as "id" or "id.value", you might have to mess with it a bit. On
> another note it's generall
You're going to have to loop through form.elements and count them. Note,
this isn't tested and just off the top of my head. Can't remember if you
refer to id as "id" or "id.value", you might have to mess with it a bit. On
another note it's generally bad to have multiple elements with the same id.
Oh, I thought this was obvious, but maybe not. Replace "form" with the name
of your form or with forms[x] where x is the number of the form on the page.
On Mon, Feb 9, 2009 at 3:02 PM, Michael Grant wrote:
> Whoops, I think that should be "i
>
>
> On Mon, Feb 9, 2009 at 3:01 PM, Michael Grant
i want that alert to tell me how many checkboxes with the
id="updateFirmware" there are.
its telling me that fields is null :(
help.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
Untitled Document
var fields = document.getEl
ead a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
Web Developer
http://William.Seiter.com
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 2:52 PM
To: CF-Community
Subject: Re: Javascript question
you do
Boycott Sys-Con
>
>
> -Original Message-
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 19, 2007 5:17 PM
> To: CF-Community
> Subject: Re: Javascript question
>
> define "doesn't work"? :)
>
> are you testing this in
//www.sstwebworks.com
> http://www.linkedin.com/in/sstwebworks
>
> Boycott Sys-Con
>
>
> -Original Message-
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 19, 2007 5:17 PM
> To: CF-Community
> Subject: Re: Javascript question
>
> d
http://www.linkedin.com/in/sstwebworks
Boycott Sys-Con
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 5:17 PM
To: CF-Community
Subject: Re: Javascript question
define "doesn't work"? :)
are you testing this in firef
>
> --
> Scott Stewart
> ColdFusion Developer
>
> SSTWebworks
> 4405 Oakshyre Way
> Raleigh, NC. 27616
> (703) 220-2835
>
> http://www.sstwebworks.com
> http://www.linkedin.com/in/sstwebworks
>
> Boycott Sys-Con
&g
bworks.com
http://www.linkedin.com/in/sstwebworks
Boycott Sys-Con
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 2:12 PM
To: CF-Community
Subject: Re: Javascript question
your syntax is off
document.getElementById('advsPubF
your syntax is off
document.getElementById('advsPubF1').value.length > 1
document.getElementById('advsPubF').checked = true;
On 10/19/07, Scott Stewart <[EMAIL PROTECTED]> wrote:
> Hey all,
>
>
>
> I've got another weird one.
>
>
>
> How would you check a radio button, based on whether or not tex
Hey all,
I've got another weird one.
How would you check a radio button, based on whether or not text is entered
in an adjacent text box?
Here what I did:
function setDateRangeCheck(){
if (document.getElementById.advsPubF1.length > 1){
document.getElementById.advsPubF.check
shouldn't that be:
if (document.getElementById('advsPubF1').length > 1){
document.getElementById('advsPubF').checked = true;
On 10/19/07, Scott Stewart <[EMAIL PROTECTED]> wrote:
> Hey all,
>
>
>
> I've got another weird one.
>
>
>
> How would you check a radio button, based on whether
charlie is the javascript goddess
tw
On 10/19/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> your syntax is off
>
> document.getElementById('advsPubF1').value.length > 1
> document.getElementById('advsPubF').checked = true;
>
> On 10/19/07, Scott Stewart <[EMAIL PROTECTED]> wrote:
> > Hey all,
> -Original Message-
> From: Scott Stewart [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 23, 2007 9:49 AM
> To: CF-Community
> Subject: javascript question
>
> Hey guys,
>
>
>
> When using "innerHTML" can you call a template? Or is this ju
Hey guys,
When using "innerHTML" can you call a template? Or is this just for chunks
of text.
I'd like to replace an iframe with innerHTML if possible
sas
--
Scott Stewart
ColdFusion Developer
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
http:
>On 4/20/07, Jim Davis <[EMAIL PROTECTED]> wrote:
>
>Very cool. I didn't realize the var keyword actually "did" anything.
>I thought it was somewhat of a formality in JS (not unlike terminating
>a line with a semi-colon being optional).
>
>I had thought any variable created inside of a function (r
On 4/20/07, Jim Davis <[EMAIL PROTECTED]> wrote:
> >Hey all,
> >
> >I've got two javascript functions in a .js template.
> >
> >If I set a var in the first function, can I use it in the second function?
>
> It depends on whether or not you scope it locally.
>
> The "var" keyword tells a variable "y
>Hey all,
>
>I've got two javascript functions in a .js template.
>
>If I set a var in the first function, can I use it in the second function?
It depends on whether or not you scope it locally.
The "var" keyword tells a variable "you're only available in the current or
child scopes". Without
sorry, i should point out that since you're using a .js file, you
won't have tags. just declare the variable outside of any
function calls and the same holds true. it'll be globally available
to any of the functions.
On 4/20/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> not unless you explic
not unless you explicitly call the first function from within the 2nd.
JavaScript acts the way that I wish CFCs would act. If you declare a
variable inside a function, it's local to that function.
If you have multiple functions that need to reference a variable, just
declare the variable inside
only if you scope the variable outside of the two functions. e.g.
var ima_global;
function f1() {
ima_global = true;
}
function f2() {
alert(ima_global);
}
On 4/20/07, Scott Stewart <[EMAIL PROTECTED]> wrote:
> Hey all,
>
>
>
> I've got two javascript functions in a .js template.
>
>
>
: Javascript Question
If I set a var in the first function, can I use it in the second
function?
If you define it outside of either function.
var foobar; //Global variable available to all functions.
function setVar()
{
foobar="see ma";
}
function readVar()
{
al
If I set a var in the first function, can I use it in the second
function?
If you define it outside of either function.
var foobar; //Global variable available to all functions.
function setVar()
{
foobar="see ma";
}
function readVar()
{
alert(foobar);
}
~~
Hey all,
I've got two javascript functions in a .js template.
If I set a var in the first function, can I use it in the second function?
Thanks
sas
--
Scott Stewart
ColdFusion Developer
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
http://w
Hi All,
Is there a way using JavaScript to get the name of the object on your page
that currently has focus?
Oh, and to make sure that this on topic, how is the house viewing going
Tony?
TIA,
D
~|
Message: http://www.houseof
Is this GIS stuff?
Looks like it.
Google Maps API
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-
| 1 | |
- Binary Soduko
| | |
-
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice:
ossPost from CF-Talk: Javascript Question
>
> 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# ");
>
Here is how I have it working.
var htmlStr = "#N_LOC_NAME#
[#R_MDL_MOBLID#]#N_LAD_ADDR1##N_LAD_CITY#, #N_LAD_STATE#From:
#R_MDT_DRWFTME# To: #R_MDT_DRWTTME#";
marker.openInfoWindowHtml(htmlstr); });
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
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
heh. careful...if you answer yourself too much you'll go blind.
On 7/6/05, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Ian
>
> getElementsByTagName()
>
> Thanks Ian that was really helpful, this list is a great resource.
>
>
> --
> Ian Skinner
> Web Programmer
> BloodSource
> www.Blo
Glad you could help. We need more like you on this list.
On 7/6/05, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Thanks Ian that was really helpful, this list is a great resource.
~|
Discover CFTicket - The leading ColdFusion Help D
Ian
getElementsByTagName()
Thanks Ian that was really helpful, this list is a great resource.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including
I'm having a major memory failure here.
What is the JavaScript function similar to "getElementById("anID") to get
elements by html tag type?
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Hey, thanks for that function. I am going to add it to my js from
yesterday. I was somewhat worried about the toFixed() solution and
older browsers, but it was only a temporary fix anyways.
Ray
Jim Davis wrote:
>>LOL...Jim?
>>
>>Something about floating point math, blah blah.
>
>
> Hey... d
>LOL...Jim?
>
>Something about floating point math, blah blah.
Hey... don't look at me! ;^)
It has something to do with an inability for certain numbers to be exactly
represented in binary. I don't believe the number 12.95 can actually be
converted as it is to binary.
You can see this in Win
TED]
> Sent: Thursday, June 09, 2005 8:44 AM
> To: CF-Community
> Subject: Re: stupid Javascript question
>
> LOL...Jim?
>
> Something about floating point math, blah blah.
>
> Sad thing is, I have a BS in math. That was a long time ago, though,
I
> can't remember any
then
> prove her answer to the befuddled teacher.
>
>
>
> -Original Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 09, 2005 8:44 AM
> To: CF-Community
> Subject: Re: stupid Javascript question
>
> LOL...Jim?
>
> Somet
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 8:44 AM
To: CF-Community
Subject: Re: stupid Javascript question
LOL...Jim?
Something about floating point math, blah blah.
Sad thing is, I have a BS in math. That was a long time ago, though, I
can't remember any of
l Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 08, 2005 1:35 PM
> To: CF-Community
> Subject: stupid Javascript question
>
> I am trimming this question down to the nitty gritty for simplicity's
> sake:
>
> Why does t
PROTECTED]
Sent: Wednesday, June 08, 2005 1:35 PM
To: CF-Community
Subject: stupid Javascript question
I am trimming this question down to the nitty gritty for simplicity's
sake:
Why does this javascript:
var price = 3 * 12.95;
give me this result:
38.844
?
God I hate j
Just tried in CF. It gives the "correct" answer.
Jim Davis wrote:
>>-Original Message-
>>From: Ray Champagne [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, June 08, 2005 5:05 PM
>>To: CF-Community
>>Subject: Re: stupid Javascript question
>>
> -Original Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 08, 2005 5:05 PM
> To: CF-Community
> Subject: Re: stupid Javascript question
>
> Yep, this worked:
>
> var price = 3 * 12.95;
> document.write(price.toFixed(2));
&
> I am trimming this question down to the nitty gritty for
> simplicity's sake:
> Why does this javascript:
> var price = 3 * 12.95;
> give me this result:
> 38.844
> ?
> God I hate javascript.
> Ray
Because JavaScript gurus responsible for writing the engines that
interpret it
little problems like
this to stress you out under deadline and client pressure!
Ray
Jim Davis wrote:
>>-Original Message-
>>From: Ray Champagne [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, June 08, 2005 4:35 PM
>>To: CF-Community
>>Subject: stupid Javascript qu
> -Original Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 08, 2005 4:35 PM
> To: CF-Community
> Subject: stupid Javascript question
>
> I am trimming this question down to the nitty gritty for simplicity's
> sake:
>
>
I am trimming this question down to the nitty gritty for simplicity's sake:
Why does this javascript:
var price = 3 * 12.95;
give me this result:
38.844
?
God I hate javascript.
Ray
--
=
Ray Champagne - Senior App
Take a look at some of the threads on CF_Talk surrounding AJAX or try
Google...
http://www.google.com/search?q=Javascript+AJAX
-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 14, 2005 8:55 AM
To: CF-Community
Subject: Javascript Question
Hi everyone
Hi everyone,
Does anyone know of a reference that shows how to pull stuff from
other servers using Javascript kind of like Google does with their
ads?
I'm setting up an e-shop and the tools are fairly limited. I would
like to serve some dynamic content from my hosting account and I
thought that w
, 2003 11:12 AM
To: CF-Community
Subject: RE: Javascript question
It looks to me like this just checks for a "http://";, right? So if I have a
site that spans multiple servers then this isn't going to be a good
solution? Say I have the core of the site on one server at www.example
le.com.
-Kevin
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 10:00 AM
> To: CF-Community
> Subject: RE: Javascript question
>
>
> You are so the man, that's exactly what I needed. Seriously I owe you
> biggie
EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 10:53 AM
To: CF-Community
Subject: RE: Javascript question
Yo Tim;
Check this out.
M
Untitled
<!--
function check_outside_links(){
i = 0;
while (i < document.anc
D]
: Sent: Tuesday, April 01, 2003 10:22 AM
: To: CF-Community
: Subject: RE: Javascript question
:
:
: The data we are working with is all in a db that dates back to 1986. Now
: obviously the URLs won't have started showing up until what maybe
: 95 or 97?
: Still that's every article we linke
-->
http://www.yahoo.com"; name="yahoo">Yahoo
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 10:09 AM
To: CF-Community
Subject: Javascript question
Hey kids,
I need to have a message displayed when ever
--Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 10:20 AM
To: CF-Community
Subject: Re: Javascript question
Sorry did not read the entire message.
Not sure with a single include to make it work across the whole site.
But this function does work:
dkins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 10:17 AM
To: CF-Community
Subject: Re: Javascript question
Pass the entire link to a function and then afterwards push them along:
function ExitLink(urlLink){
alert('have a nice day. Now you are going to: ' + urlLink);
Sorry did not read the entire message.
Not sure with a single include to make it work across the whole site.
But this function does work:
function ExitLink(urlLink){
alert('have a nice day. Now you are going to: ' + urlLink);
window.location=urlLink;
}
http://www.msn.com');">MSN
>>> [EMA
Pass the entire link to a function and then afterwards push them along:
function ExitLink(urlLink){
alert('have a nice day. Now you are going to: ' + urlLink);
window.location=urlLink;
}
Something along that lines, might have to tweak it
>>> [EMAIL PROTECTED] 04/01/03 10:09AM >>>
Hey kids,
Hey kids,
I need to have a message displayed when ever someone clicks a link that
takes them off of our site. I figured I could probably write a nice easy
onUnLoad function to take care of it, but I can't seem to find a way to get
the window.location.href they are heading to. I mean it displa
I think it looks cool :)
I just did that for backward compatibility... :)
I didn't need it I know..
-Gel
~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/cf-community@houseoffusion.co
You don't need the javascript: part.
- Original Message -
From: "Angel Stewart" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 11:30 AM
Subject: RE: Quick Javascript question :)
> Ok..this seems t
Ok..this seems to have worked, just putting this code in the Body tag:
-Gel
-Original Message-
From: Jason Reichenbach [mailto:[EMAIL PROTECTED]]
in your
do this instead:
~~
Get the mailserver that powers this list at http://www.c
Madness :-\
Still getting the missing ; on the line
I can't understand this :-\
What is wrong with my syntax?
-Gel
-Original Message-
From: Vinny DiDonato [mailto:[EMAIL PROTECTED]]
Try... (lines changed have asterisks)
Formsubfunc(){
Form1.submit();
in your
do this instead:
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:01 PM
To: CF-Community
Subject: RE: Quick Javascript question :)
Same errors, here's the new code:
Formsubfunc(){
Form1.submit();
}
Forgot to mention -- JavaScript is case sensitive.
-V
-Original Message-
From: Vinny DiDonato [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:01 PM
To: CF-Community
Subject: RE: Quick Javascript question :)
Try... (lines changed have asterisks)
Formsubfunc
: Wednesday, November 28, 2001 1:01 PM
To: CF-Community
Subject: RE: Quick Javascript question :)
Same errors, here's the new code:
Formsubfunc(){
Form1.submit();
}//end func
Updating Charge Info
Records Up
Same errors, here's the new code:
Formsubfunc(){
Form1.submit();
}//end func
Updating Charge Info
Records Updated.
~~
Get the mailserver
And I'm still getting the same error...
I hate syntax errors :-\
What else could be wrong?
-Gel
-Original Message-
From: Jason Reichenbach [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:46 PM
To: CF-Community
Subject: RE: Quick Javascript question :)
Pu
ED]]
Sent: Wednesday, November 28, 2001 12:45 PM
To: CF-Community
Subject: RE: Quick Javascript question :)
I'm getting errors :-\
*sniff*
The error is Missing ; on the line with the
Heres the code,I've probably done something wrong:
Formsubfunc()
{
Form1.sub
Put the semicolon in after the funtion. like so:
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 12:45 PM
To: CF-Community
Subject: RE: Quick Javascript question :)
I'm getting errors :-\
*sniff*
The error is Missing ; on the
I'm getting errors :-\
*sniff*
The error is Missing ; on the line with the
Heres the code,I've probably done something wrong:
Formsubfunc()
{
Form1.submit();
}
//end func
Updating Charge Info
Records Updated.
~
Why don't you use:
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:46 AM
To: CF-Community
Subject: Quick Javascript question :)
After a page finishes processing..I want it to go immediately to another
page..to a summary
That's the way I've done it.
JS CODE
CFOUTPUT
BODY TAG WHICH SUBMITS
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 12:13 PM
To: CF-Community
Subject: RE: Quick Javascript question :)
Nope..didn't try that.
Subject: RE: Quick Javascript question :)
Nope..didn't try that.
So if I put all the code that does the processing BEFORE the body tag
it will do the processing and THEN submit..not just fly to Javascript
and Submit without processing the CF Code right?
:)
-Gel
-Original Message-
Nope..didn't try that.
So if I put all the code that does the processing BEFORE the body tag
.it will do the processing and THEN submit..not just fly to Javascript
and Submit without processing the CF Code right?
:)
-Gel
-Original Message-
From: Vinny DiDonato [mailto:[EMAIL PROTECTED
"#startdate#"
Type=hidden name="enddate" value="#enddate#"
/form
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:46 AM
To: CF-Community
Subject: Quick Javascript question :)
After a page finishes processin
After a page finishes processing..I want it to go immediately to another
page..to a summary page actually.
And I want to pass files on the URL (Unless I can force an unassisted
Form Submit with hidden form fields or something).
So..after I process edits done on the Edit Screen...I want to go bac
Just looking for a "yes/no" (well... it is Monday and all...)
I have a calendar. Several of the links in various "day" cells are
"related".
Is there a CSS/JavaScript method to have all the related links change colors
at the same time?
(without refreshing the page)?
Again.. yes I have seen/don
-Community
> Subject: Quick Javascript question..
>
>
> Hi dee ho,
>
> I have a quick javascript question.
>
> Have a form...say..20 fields in a table row.
> Whenever someone enters hours into these fields I want it to
> update the
> totals for that row.
>
&
Hi dee ho,
I have a quick javascript question.
Have a form...say..20 fields in a table row.
Whenever someone enters hours into these fields I want it to update the
totals for that row.
I know it's simple..but for some reason I can't find a Jscript example
like this on the
I know I should really post this to Talk, but since the traffic is so much
higher, it'll probably get missed
Anyways, what I'm trying to do (and can't for the life of me remember how
to) is to open a window and populate it - I've gotten that far, but if the
link is clicked again, then it puts the
100 matches
Mail list logo