OT: Javascript -- why is this form submitting?

2003-03-13 Thread Owens, Howard
I found this pretty nice cc validation script out on the net ... but I had to make some modifications to it. I'm having a weird problem with it, however. Here is the relevant function: function validCCForm(ccTypeField,ccNumField) { var result = isValidCreditCardNumber(ccNumFie

Way OT: javascript to submit a form

2003-01-16 Thread brook
I'm sorry to post this here but I really need a bit of a hand on this one. I've searched the net to no avail. Should be simple, I have a page with 10 forms. When a link is clicked a handler is called and passed the name of the form to submit. I want to use something like : eval('document.'+f

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

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

OT: Javascript Navigation Bar - I need one.

2000-03-27 Thread Erika Foster
This is a multi-part message in MIME format. --=_NextPart_000_0055_01BF9826.AE9A7300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I've tried a couple different Javascript navigation bars, but none of = them seem to work with my CF pa

OT JavaScript vs Flash for client side

2000-12-28 Thread Dick Applebaum
I know this belongs on a Flash forum, but I haven't found a good one yet. Anyway, I assume that many programmers use Flash to augment their CF apps. So, here goes... I use a lot of JavaScript on the client side of my CF apps... it greatly improves the flow and user interface. The major proble

RE: Slightly OT: Javascript Error - Confirmation Box

2001-06-04 Thread Sandy Clark
turn false; } -Original Message- From: Rosa, Issac [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 2:32 PM To: CF-Talk Subject: Slightly OT: Javascript Error - Confirmation Box I have the following javascript and form. Can anyone see why I am not getting the confirm box? No erro

Re: Slightly OT: Javascript Error - Confirmation Box

2001-06-04 Thread Jon Hall
to recreate it. jon - Original Message - From: "Rosa, Issac" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 04, 2001 5:32 PM Subject: Slightly OT: Javascript Error - Confirmation Box > I have the following javascript and form. Can

RE: Slightly OT: Javascript Error - Confirmation Box

2001-06-04 Thread tmwall
3:32 PM To: CF-Talk Subject: Slightly OT: Javascript Error - Confirmation Box I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. Action Page

Re: OT: JavaScript to Check link format...

2004-03-03 Thread Thomas Chiverton
On Wednesday 03 Mar 2004 11:46 am, Tangorre, Michael wrote: > Does anyone have a JS function to check the format of a link submitted by a > user via a form. You know _javascript_ supports regualar expressions, right ? http://devedge.netscape.com/library/manuals/2000/_javascript_/1.5/guide/regexp.h

RE: OT: JavaScript to Check link format...

2004-03-03 Thread Tangorre, Michael
In deed I do, I am not good at writing them however and have been attempting to alter one I found to check for a valid email address but am coming up short. Good link though... Mike   _   From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 7:01 AM To: CF-Talk

Re: OT: JavaScript to Check link format...

2004-03-03 Thread Thomas Chiverton
On Wednesday 03 Mar 2004 12:16 pm, Tangorre, Michael wrote: > In deed I do, I am not good at writing them however Ahh, well, what do you want to validate then ? 'http://' followed by alphanumeric, dot, alpha, dot,alpha, whitespace, openAngleBracket,alphanumeric, dot, alpha, dot,alpha,stroke,clos

RE: OT: JavaScript to Check link format...

2004-03-03 Thread Tangorre, Michael
Something general... http:// followed by something then dot then some extension www dot could be in there also but not required... and if it is in there, then there should be two dots: http://www   dot something dot some extension That was a mouthful.   Mike   _   From: Thomas Chiverton

Re: OT: JavaScript to Check link format...

2004-03-03 Thread Thomas Chiverton
On Wednesday 03 Mar 2004 12:42 pm, Tangorre, Michael wrote: > http:// followed by something then dot then some extension Is there a limit to the numbe of 'dot,something' pairs ? How is 'extension' defined ? There is a handy regular _expression_ editor called kregexpeditor, which I swear has been

RE: OT: JavaScript to Check link format...

2004-03-03 Thread Tangorre, Michael
No limit to the 'dot.something' pairs. What would you suggest for the dot extension? I would think that a string following the last dot would be most flexible... I will see if I can hunt down the editor! Mike   _   From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03

RE: -OT- Javascript - cross browser button disable

2003-09-15 Thread Craig Dudley
e modern browsers. You should maybe use true instead of 1, but both should be fine. -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 15:28 To: CF-Talk Subject: -OT- Javascript - cross browser button disable I'm looking for a cross browser

RE: -OT- Javascript - cross browser button disable

2003-09-15 Thread Ben Doom
Programmer & General Lackey Moonbow Software, Inc : -Original Message- : From: Thane Sherrington [mailto:[EMAIL PROTECTED] : Sent: Monday, September 15, 2003 10:28 AM : To: CF-Talk : Subject: -OT- Javascript - cross browser button disable : : : I'm looking for a cross browser

RE: -OT- Javascript - cross browser button disable

2003-09-15 Thread Thane Sherrington
At 03:54 PM 09/15/03 +0100, Craig Dudley wrote: >If your'e disabling a button from itself then, 'this.disabled=1' works >in just about everything. Excellent. I was hoping for something simple like this. I put it in the onclick event, and it seems to work perfectly. T Tired of your bookmarks/f

RE: -OT- Javascript - cross browser button disable

2003-09-15 Thread Thane Sherrington
At 11:01 AM 09/15/03 -0400, Ben Doom wrote: >Also, remember that nothing with JS is guaranteed, since people can (and do) >turn it off. True. But I figure if someone actively tries to circumvent my precautions, it's their problem to make sure they enter data correctly. T Tired of your bookmark

Re: OT: JavaScript clock problem w/ Firefox

2005-04-05 Thread Ray Champagne
I've had issues with getYear() after creating a js date before in FireFox. It would display 2005 in IE, but in FF it displays 105. I had to use getFullYear() for it to display correctly. I don't have time to look into the getMinutes and getSeconds, etc, but I would be willing to bet a cold b

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

Re: OT: Javascript -- Reading FORM value from Popper

2003-02-12 Thread charlie griefer
Howard: opener.form1.ITEM_ID.value; parent is when referencing a frame within a frameset. hth, Charlie Owens>,Howard [EMAIL PROTECTED] writes: > I have a form, and with the form, I have a link that when clicked, spawns a > pop-up window. > > From within that popper, I want to read a fo

OT: JavaScript to detect use of back button

2000-08-30 Thread Milks, Jim
Hi All, This is for a CF app, but really a JS question. I am using JS to throw up alerts when an error occurs, which works fine. But if a user uses the browser's back button, and then forward again (and vice-versa), the error message occurs again, but should not. What I want to do is, detect the

OT: Javascript / Div's in NS 7 and Mozilla

2003-07-10 Thread Jillian Carroll
I've got an unusual problem. I have a Javascript that rotates through a series of books (images/text w/links). It's very simple. It works in IE and NS 4.x... But it doesn't workin Mozilla / NS 7... nothing appears on the screen. How can I modify this script/div so that it will display in all

RE: Way OT: javascript to submit a form

2003-01-16 Thread Ben Doom
MAIL PROTECTED]] : Sent: Thursday, January 16, 2003 2:37 PM : To: CF-Talk : Subject: Way OT: javascript to submit a form : : : I'm sorry to post this here but I really need a bit of a hand on : this one. : I've searched the net to no avail. : : Should be simple, I have a page with 10 forms.

RE: Way OT: javascript to submit a form

2003-01-16 Thread Owens, Howard
. > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 11:37 AM > To: CF-Talk > Subject: Way OT: javascript to submit a form > > I'm sorry to post this here but I really need a bit of a hand on this one. >

RE: Way OT: javascript to submit a form

2003-01-16 Thread Jerry Johnson
ar).submit(); -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] : Sent: Thursday, January 16, 2003 2:37 PM : To: CF-Talk : Subject: Way OT: javascript to submit a form : : : I'm sorry to p

RE: Way OT: javascript to submit a form

2003-01-16 Thread Lofback, Chris
mit(); } Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 2:37 PM > To: CF-Talk > Subject: Way OT: javascrip

Re: Way OT: javascript to submit a form

2003-01-16 Thread jon hall
Submit submitHandler(formNumber) { formObj = document.forms[formNumber]; formObj.submit(); } Pass the form number in the link...the first form on the page will be form 0, the second form 1, etc.. -- jon mailto:[EMAIL PROTECTED] Thursday, January 16, 2003, 2:37:10 PM, you wrote: bmc> I'm

RE: Way OT: javascript to submit a form

2003-01-16 Thread Dave Watts
> Should be simple, I have a page with 10 forms. When a > link is clicked a handler is called and passed the > name of the form to submit. I want to use something > like : > > eval('document.'+formNameVar+'.submit()') > > to submit the form, but I continually get an error > saying the object

Re: Way OT: javascript to submit a form

2003-01-16 Thread brook
Awesome Thanks for all the replies! At 03:00 PM 1/16/2003 -0500, you wrote: >Submit > >submitHandler(formNumber) { > formObj = document.forms[formNumber]; > formObj.submit(); >} > >Pass the form number in the link...the first form on the page will be >form 0, the second form 1, etc.. > >-- >

OT: Javascript move up/down in select box

2002-07-16 Thread Deanna Schneider
Hi folks. I know this is off-topic, but I'm getting annoyed, and I know someone here will be able to give the answer. I'm trying to do one of those javascript boxes where you can click a button and the items move up or down in the list. I found one that works if I don't care what the values are (

OT: JavaScript to validate form with 2 functions

2001-12-12 Thread Aidan Whitehall
Does anyone know how to validate a form using two functions, one triggering another? I've got three forms that all contain the same fields, but then each one has a couple of other fields as well. The onSubmit needs to trigger a specific function and if that validation passes, it should then trigg

Re: OT JavaScript vs Flash for client side

2000-12-28 Thread listmb
Yes, Flash routines can be pirated. In fact there is a utility, I forget the name, that lets one openly browse any swf file for all subroutines and actionscripting. If you look on flashkit.com I'm sure you'll find it. Hope this helps, WayGee Hello Dick, Thursday, December 28, 2000, 10:26:2

Re: OT: Javascript / Div's in NS 7 and Mozilla

2003-07-10 Thread Thomas Chiverton
On Thursday 10 Jul 2003 16:50 pm, Jillian Carroll wrote: > workin Mozilla / NS 7... nothing appears on the screen. How can I modify > this script/div so that it will display in all browsers? Use the JavaScript debugger / console to asertain the problem. The fix should be obvious then. -- Thoma

Re: OT: Javascript / Div's in NS 7 and Mozilla

2003-07-10 Thread Marlon Moyer
The problem lies in this section: if (document.layers) { document.layers["myDiv"].document.open(); document.layers["myDiv"].document.write(rs); document.layers["myDiv"].document.close(); } else {

OT: JavaScript to limit # of chars in a textarea

2000-11-06 Thread J.Milks
This is a multi-part message in MIME format. --=_NextPart_000_009F_01C047F3.C6CFB520 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, Can anyone suggest the best method to limit the number of characters = entered into a textarea? I s

OT: JavaScript to navigate around data entry input forms

2001-11-13 Thread Aidan Whitehall
I need to write some JavaScript to enable users to navigate around a form that's 5 text inputs wide by up to about 30 inputs height by pressing the arrow keys, as opposed to tabbing through them. Each form input is named differently using a regular naming convention. Does anyone have any pointer

More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread Angel Stewart
There really should be a single repository for information about these common JS tasks that nearly all CF Programmers will need to use sooner or later :) Now..this matches what people sent me...but for some reason I keep getting Object Does not Support This Method. :-\ Any ideas? Also..do you

OT: javascript or html to crash netscape or IE

2001-12-11 Thread mherbene
I need a snippet of javascript/html/dhtml/css/whatever that will cause Netscape or IE to crash reliably so I can test something. I have certainly managed to crash them in the past but can't find the code that did it. Any ideas? Martin Herbener

OT: Javascript RE: checking multiple boxes w/single button?

2001-01-09 Thread Jann VanOver
BTW: a GREAT Javascript resource, http://irt.org/ (irt stands for Internet Related Technologies) function checkAll() { document.formName.chk1.checked=true; document.formName.chk2.checked=true; document.formName.chk3.checked=true; } Or just give the checkboxes a name starting with some

Re: ot: javascript follow (this one should be easy)

2004-08-16 Thread Tony Weeg
another test, change 7 to 11, and watch what happens to 9 and 10??? strange isnt it?  9/10 seem to be the problems...? -- tony Tony Weeg human. email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ Check out http://www.antiwrap.com to send websites to your friends

Re: ot: javascript follow (this one should be easy)

2004-08-16 Thread Dick Applebaum
And what is the significant difference between 9 & 10 (as compared to any other 2 contiguous numbers in your set)? Dick On Aug 16, 2004, at 7:42 PM, Tony Weeg wrote: > another test, change 7 to 11, and watch what happens to 9 and 10??? > >  strange isnt it?  9/10 seem to be the problems...? > >

Re: ot: javascript follow (this one should be easy)

2004-08-16 Thread Tony Weeg
nothing, man this is GHOST likethose numbers just trip right the fu** out?? strange my friend.. .tw On Mon, 16 Aug 2004 20:10:04 -0700, Dick Applebaum <[EMAIL PROTECTED]> wrote: > And what is the significant difference between 9 & 10 (as compared to > any other 2 contiguous numbers in your se

Re: OT: JavaScript to limit # of chars in a textarea

2000-11-06 Thread Kay Smoljak
On Mon, 6 Nov 2000 13:16:30 -0500, "J.Milks" <[EMAIL PROTECTED]> wrote: >Can anyone suggest the best method to limit the number of characters = >entered into a textarea? >I seem to remember someone offering JS code that did just that on this = >list. I use this function: //limit number of char

Re: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread Craig
like: -Craig - Original Message - From: "Angel Stewart" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 3:44 PM Subject: More OT Javascript: Dual Submit Buttons on One Form. > There really should be a single repository

RE: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread Angel Stewart
Umm.. I tried that..a new name and stuff. And I still get that same exact error. It is driving me nuts..I can't understand! :-\ -Gel -Original Message- From: Craig [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 6:27 PM To: CF-Talk Subject: Re: More OT Javascript:

Re: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread BILLY CRAVENS
Must have books: Javascript: The Definitive Reference (O'Reilly) DHTML: The Definitive Reference (O'Reilly) - Original Message - From: "Angel Stewart" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 3:44 P

Re: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread Douglas L. Brown
m.submit(); } //--> Untitled This Form is posting to itself &n bsp; Doug - Original Message - From: "Angel Stewart" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 2:48 PM Subject: RE: More OT Javascript: Dual Submi

RE: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-14 Thread Craig Dudley
Gel, just change the input type to "button" as follows. That should do the trick. Cheers, Craig. -Original Message- From: Angel Stewart [mailto:[EMAIL PROTECTED]] Sent: 13 November 2001 21:45 To: CF-Talk Subject: More OT Javascript: Dual Submit Buttons on One Form. Th

Re: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-14 Thread Craig
AIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 4:48 PM Subject: RE: More OT Javascript: Dual Submit Buttons on One Form. > Umm.. > I tried that..a new name and stuff. > > onclick="document.Timeentry_billable.action='timee

Re: OT: javascript or html to crash netscape or IE

2001-12-11 Thread Alex
Go away. On Tue, 11 Dec 2001 [EMAIL PROTECTED] wrote: > I need a snippet of javascript/html/dhtml/css/whatever that will cause > Netscape or IE to crash reliably so I can test something. I have certainly > managed to crash them in the past but can't find the code that did it. Any > ideas? > >

Slight OT : Javascript works in IE, but ignored in Netscape

2001-03-07 Thread Picker, Mark P
Hi All, I am having a problem with a javascript function in ColdFusion. Works fine under IE, but not Netscape. You enter a record ID in a form field and click the lookup button, which loads a page which amongst other things, contains the below code. Once the query finds the correct details the

OT: Javascript Date Validation? Anyone know how to approach this?

2003-08-27 Thread Jeff
Okay, I know I know, this is off topic, but I've been banging my head about this one, and I'm SURE it's probably stupid simple, but I'm just not good with dates (insert nerd joke here). Here's a simple form. Three select dropdowns. There's other validation going on, and other stuff happening, but

RE: Slight OT : Javascript works in IE, but ignored in Netscape

2001-03-07 Thread Dan G. Switzer, II
x27;ll take the guesswork out of things. -Dan -Original Message- From: Picker, Mark P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 5:02 PM To: CF-Talk Subject: Slight OT : Javascript works in IE, but ignored in Netscape Hi All, I am having a problem with a javascript functio

<    1   2   3   4   5