Javascript
Hi, At http://www.whatcar.co.uk if you point at the headings, such as "Used Cars For Sale", it loads a further menu. Is this purely Javascript and DHTML, or is CF involved at all? Thanks Will -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
JavaScript
Hi, Could anyone inform me of any javascript function that takes the total of numbers entered into a textbox and displays them in another? eg Item a = 2 (number in text box) Item b = 3 Item c = 4 Total = 9 (this total is generated by adding the items in the textboxes above) Any help will much apreciated Jerry Staple Jerry Staple Web Applications Developer BizNet Solutions 133 - 137 Lisburn Rd Belfast BT9 7AG Tel: +44 (0)28 9022 3224 Fax: +44 (0)28 9022 3223 www.biznet-solutions.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript
Can anyone tell me the javascript equivalent of FindNoCase(). ? Thanks Allan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Test for Javascript versions and Javascript on
I have a page which is written with JS 1.2. I would like to write a portal page which will test for JS on, and JS 1.0 and 1.1, and have one conditional CFLOCATION for (JS 1.2 and have it turned on,) and send everyone else to the text version of the page. Is there a custom tag to do this, or does anyone have a snippet of code they would be willing to share? Thank you very much for your help! Britta -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Test for Javascript versions and Javascript on
I have a page which is written with JS 1.2. I would like to write a portal page which will test for JS on, and JS 1.0 and 1.1, and have one conditional CFLOCATION for (JS 1.2 and have it turned on,) and send everyone else to the text version of the page. Is there a custom tag to do this, or does anyone have a snippet of code they would be willing to share? Thank you very much for your help! Britta -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Javascript back button & General JavaScript Help
Also, http://www.irt.org is a very good resource for JavaScript questions. If you haven't been there, I would definately check it out. -Michael Michael Imhoff www.omnicypher.com icq: 10495667 [EMAIL PROTECTED] (home) (320) 255-4447 (home) [EMAIL PROTECTED] (cell) (612) 247-8159 (cell) Allaire Alliance Consulting Partner - Original Message - From: "Dave Watts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 31, 2000 6:43 PM Subject: RE: Javascript back button > > Could someone **please** slip me the code for the simple > > Javascript "back" > > button? (ie. history -1) ??? > > Either history.go(-1) or history.back() should work fine, I think. > > On a side note, you might find it useful to download the HTML documentation > for JavaScript available at http://developer.netscape.com/. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Javascript ?
Make them regular images. Mark Stephenson New Media Director Evolution Internet T: 0870 757 1631 F: 0870 757 1632 W: www.evolutioninternet.co.uk E: [EMAIL PROTECTED] WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. -Original Message- From: Deanna Schneider [mailto:deanna.schneider@;ces.uwex.edu] Sent: 23 October 2002 18:47 To: CF-Talk Subject: OT: Javascript ? Hi Folks, With the following code, I can check or uncheck all the checkboxes on a page IF I use an input type of button. If I use an input type of image, the page submits. What gives? (Two different style of looping because of messing around with it only.) <!-- Begin function checkAll() { var el = document.forms[0].elements; for(var i = 0 ; i < el.length ; ++i) { if(el[i].type == "checkbox") { el[i].checked = true; } } } function unCheckAll() { var i=0; for( i=0 ; i<document.forms[0].elements.length; i++) { document.forms[0].elements[i].checked=0; } } // End --> These submit the form: These don't Deanna Schneider Interactive Media Developer [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
OT: Javascript
I need to test howmany items are selected in a select box, is there anyway in javascript to do this. I have tried fromElem.options[fromElem.selectedIndex].length Where fromElem is the select box, but that obviously didn't work. Thanks Ray ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Javascript
Hi Ray: If you're still wrestling with this, see: http://charlie.griefer.com/ray.html hth, charlie -Original Message- From: Ray Bujarski [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:32 PM To: CF-Talk Subject: OT: Javascript I need to test howmany items are selected in a select box, is there anyway in javascript to do this. I have tried fromElem.options[fromElem.selectedIndex].length Where fromElem is the select box, but that obviously didn't work. Thanks Ray ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
javascript question
any idea why this doesn't load credcard.cfm? -- ::: Jon Tillman LINUX USER: #141163 ICQ: 4015362 [EMAIL PROTECTED] http://tillman.freehosting.net ::: -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
javascript help
I'm trying to develop a javascript validation for a textarea. I'm getting an error message which says "ProgramDescription.value" is not an object. === function validate(testform) { if (testform.ProgramDescription.value == " ") { window.alert("Please add a program description."); return false; } return true; } Thanks, Sebastian -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Javascript Guru?
When I have a user the selects a dropdown, I want to use an onClick event handler to dynamically "select" an associated radio button on the same form. I am familiar with doing so with a text field and values...what would one hit up to make a radio button be selected? Thanks! Regards, Eric J. Hoffman DataStream Connexion www.datastreamconnexion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT : javascript ?
Hi all, I want to open a new window using javascript, which I can do, but I want it to open as a full sized window (or at least as big as window.opener). Does anyone know how I can do this without specifying width and height attributes? I want the functionality of width=100%. TIA, -Craig ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
javascript help
I'm a newbie, how would I pass a value to a hidden field? For example, I have a form call FOO and the hidden text field is hTEXT, how would I write http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript problem
Hi guys, got a problem here, I'm trying to pass an object from frame1 to frame2 when frame1 loads, I'm not going to overdose in code here but this is the basics, var pass_new_html_struct = html_struct_head_obj; pass_new_html_struct += html_Structure; pass_new_html_struct += html_struct_foot_obj; now I want to pass the html structure to frame2, srcDataView being the name of frame 2 parent.srcDataView.document.throughMe(pass_new_html_struct); then in frame2, function throughMe(catchMe){ alert(catchMe) } I get this error, object does not support this property or method, but if I do this, alert('') parent.srcDataView.document.throughMe(pass_new_html_struct); I get the blank alert within frame1 and then it successfully passes the object to frame2 and displays the html within the alert dialogue, any ideas, Respectfully, j __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javascript addition
Hello, Can anybody show me how you would I would validate the sum of several text boxes? This is what I'm trying to use but not having luck.. thanks in advance. function validate() { if (document.newBillingInfo.SCEPbilledAmount.value + document.newBillingInfo.SCEPpenaltyAmount.value + document.newBillingInfo.SCEPdelinquentAmount.value != document.newBillingInfo.SCEPtotalAmount.value) { alert("The total Billing amount does not add up correctly, Please check the values.") document.newBillingInfo.SCEPbilledAmount.focus() return false; } return true; } __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javascript variables
I've got a need to read a javascript file on another site that contains just variable definitions i.e. numbers.js contains :- /* employee numbers */ var fred_bolggs='12345' var dave_smith='6789' ... etc I can read the file thru cfhttp with out a problem, but I was just wondering if someone know of a quick and dirty way where I could read the file and dump it into a database. I'm afraid I know nothing about javascript. TIA Richard __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript woes...
Hi all- I know that everyone steals their Javascripts from like one guy somewhere on the Internet (he's a busy guy, that Javascript programmer) so I'm wondering if he's on the list. I have this form that I need to be able to type in a text box, and have the form submit onkeyup, but when the form submits to itself, the cursor is placed in the text box at the end of the text already in it (a cfparam'd FORM field.) Basically I built a quick 'n' dirty narrow-down search populating a multi-select box from a CF query-of-queries with the parent query cached. Makes for a nice quick ND search. I've tried every javascript and custom tag version of an ND search I can find, but haven't found anything that does just what I want. What I've written works, but I have to keep selecting the text field each time the page loads, or at best can have the whole text selected or the cursor placed in the first position. I'd like to be able to place it AFTER the last character, if that's possible. I want to say that it's GOT to be possible, but Javascript and I only work together out of need. :) Anyone know how to do this? Alternatively, does anyone have a good CF narrow-down search which uses a LIKE %#variable#% where criteria to elminate all records that don't have the search criteria in them, and populate a multi-select box with the results? Thanks for your help, all... -Kevin __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
JavaScript Error!!
Hi All, What is wrong with this code? document.NonEditableContentAdd.FILENAME.value = document.NonEditableContentAdd.old_Filename.value It is not setting the 'document.NonEditableContentAdd.FILENAME.value' . Please throw some light on this !! Thanks in advance, Sudheer Chakka __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: JavaScript
I'm looking for a JavaScript means of moving items from one set into another. This particular application would add people into groups. I've seen a number of Java apps that do this, but I'm not sure if I've seen it in JavaScript. I'm thinking the on-screan containters would be two textareas (or possibly 's?). A user would select a name in either the left or right textarea and click one of two buttons to add or remove the person from the left-hand box. You probably know what I'm talking about. Anywhere I might find this? Jim __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript
check javascripts.com. they have a lot of scripts you can download for free. Anthony Petruzzi Webmaster 954-321-4703 http://www.sheriff.org -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 2:29 PM To: CF-Talk Subject: OT: JavaScript I'm looking for a JavaScript means of moving items from one set into another. This particular application would add people into groups. I've seen a number of Java apps that do this, but I'm not sure if I've seen it in JavaScript. I'm thinking the on-screan containters would be two textareas (or possibly 's?). A user would select a name in either the left or right textarea and click one of two buttons to add or remove the person from the left-hand box. You probably know what I'm talking about. Anywhere I might find this? Jim __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript
Jim, Check out the qForms API: http://www.pengoworks.com/qforms/ The API has a set of instructions for doing just what you're looking for using standard JavaScript. Check out the example pages for online samples. -Dan > -Original Message- > From: Jim McAtee [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 01, 2002 2:29 PM > To: CF-Talk > Subject: OT: JavaScript > > I'm looking for a JavaScript means of moving items from one set into > another. This particular application would add people into groups. I've > seen a number of Java apps that do this, but I'm not sure if I've seen it > in > JavaScript. > > I'm thinking the on-screan containters would be two textareas (or possibly > 's?). A user would select a name in either the left or right > textarea and click one of two buttons to add or remove the person from the > left-hand box. You probably know what I'm talking about. Anywhere I > might > find this? > > Jim > > __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript
Some possibilities? http://javascript.internet.com/forms/form-swapper-2.html http://javascript.internet.com/forms/selection-box.html http://webdeveloper.earthweb.com/webjs/item/0,3602,12744_75691,00.html Chris > -Original Message- > From: Jim McAtee [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 01, 2002 2:29 PM > To: CF-Talk > Subject: OT: JavaScript > > > I'm looking for a JavaScript means of moving items from one set into > another. This particular application would add people into groups. I've > seen a number of Java apps that do this, but I'm not sure if I've > seen it in > JavaScript. > > I'm thinking the on-screan containters would be two textareas (or possibly > 's?). A user would select a name in either the left or right > textarea and click one of two buttons to add or remove the person from the > left-hand box. You probably know what I'm talking about. > Anywhere I might > find this? > > Jim __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript
I use activeCrossSelect with good success. Regards, Eric J. Hoffman Director of Internet Development DataStream Connexion, LLC (formerly Small Dog Design) -Original Message- From: Chris Montgomery [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 9:13 PM To: CF-Talk Subject: RE: JavaScript Some possibilities? http://javascript.internet.com/forms/form-swapper-2.html http://javascript.internet.com/forms/selection-box.html http://webdeveloper.earthweb.com/webjs/item/0,3602,12744_75691,00.html Chris > -Original Message- > From: Jim McAtee [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 01, 2002 2:29 PM > To: CF-Talk > Subject: OT: JavaScript > > > I'm looking for a JavaScript means of moving items from one set into > another. This particular application would add people into groups. > I've seen a number of Java apps that do this, but I'm not sure if I've > seen it in JavaScript. > > I'm thinking the on-screan containters would be two textareas (or > possibly 's?). A user would select a name in either the left > or right textarea and click one of two buttons to add or remove the > person from the left-hand box. You probably know what I'm talking > about. Anywhere I might find this? > > Jim __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
JavaScript/CFinclude
I have one page that is a form that will be included in a java script popup. I was thinking about setting the page to a variable then outputting the page into the java script popup. Can anyone help me with this one? What I want to do: > Java Script Pop Up: window.onload=function(){ new popUp(155, 400, 696, 250, "Div_ID1", "#content# ", "CC", "FF", "bold 10pt sans-serif", "Add Users to#appname.applname# ", "66", "white", "#dd", "gray", "black", false, true, true, true, false); } __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javaScript (simple)
Hi all, Anyone have the code readily available for an OnClick action to make sure a customer wants to delete the record (i.e., click the delete button, get prompted for whether you really want to delete and don't do the action unless you. TIA, Deb _ Chat with friends online, try MSN Messenger: http://messenger.msn.com __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: Javascript
Having some Javascript issues on a really simnple plroblem. Heres my code: reject = app.response("Enter Reason For Rejecting.","Reject",""); if (reject) { this.submitForm('reject.cfm?Why=*reject*',false); } How can I reference the javascript var reject in the actionpage of the submit for (*reject*)??? Thanks for your help __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Javascript
this.submitForm('reject.cfm?Why='+reject+'',false); That what you're asking for? Joshua Miller Web Development :: Programming Eagle Web Development LLC www.eaglewd.com [EMAIL PROTECTED] (304) 622-5676 (Clarksburg Office) (304) 456-4942 (Home Office) -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 12:15 PM To: CF-Talk Subject: OT: Javascript Having some Javascript issues on a really simnple plroblem. Heres my code: reject = app.response("Enter Reason For Rejecting.","Reject",""); if (reject) { this.submitForm('reject.cfm?Why=*reject*',false); } How can I reference the javascript var reject in the actionpage of the submit for (*reject*)??? Thanks for your help __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Javascript
Yes Thank you! -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 1:33 PM To: CF-Talk Subject: RE: Javascript this.submitForm('reject.cfm?Why='+reject+'',false); That what you're asking for? Joshua Miller Web Development :: Programming Eagle Web Development LLC www.eaglewd.com [EMAIL PROTECTED] (304) 622-5676 (Clarksburg Office) (304) 456-4942 (Home Office) -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 12:15 PM To: CF-Talk Subject: OT: Javascript Having some Javascript issues on a really simnple plroblem. Heres my code: reject = app.response("Enter Reason For Rejecting.","Reject",""); if (reject) { this.submitForm('reject.cfm?Why=*reject*',false); } How can I reference the javascript var reject in the actionpage of the submit for (*reject*)??? Thanks for your help __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript question
Hi, I asked this question before but my email got deleted. How do you keep a pop up window always on top of the main window. Thanks Sal Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
OT Javascript
Sorry for the OT topic but Im having a hard time finding the answer. Im using this script for rollover's, seems to work ok. Im trying to modify it so I can point to multiple buttons but only have a single that will bring a different image depending on which button is mouse over. Currently each button will bring up a different img but using multiple Im also trying to have multiple be displayed when a single button is moused over. Can CF help me with this an any way, or just pure JS? Any tips? Thanks,Adrian This is what I put in the BODY. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Javascript
JavaScript, I think. If you want to do these type of things, or anything on the client for that matter, you have to use a client-side scripting language such as JavaScript. CF is purely a server-side scripting language. Some URLs that will get you started with popup menus and all things JavaScript: http://javascriptsource.com/ http://javascriptweenie.com/ http://www.webcoder.com/ HTH Brett Payne-Rhodes B) WL wrote: > > Hi, > > At http://www.whatcar.co.uk if you point at the headings, such as "Used Cars > For Sale", it loads a further menu. Is this purely Javascript and DHTML, or > is CF involved at all? > > Thanks > > Will > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a >message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Javascript
Looks like the Javascript menu component Will, details @ http://developer.netscape.com/viewsource/smith_menu2/smith_menu2.html -Original Message- From: WL [mailto:[EMAIL PROTECTED]] Sent: 29 June 2000 19:22 To: Cold Fusion Talk Subject: Javascript Hi, At http://www.whatcar.co.uk if you point at the headings, such as "Used Cars For Sale", it loads a further menu. Is this purely Javascript and DHTML, or is CF involved at all? Thanks Will -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Javascript
www.dynamicdrive.com has tons of cross-browser mouse-over menus. some js, some java. www.brainjar.com got some cool stuff. Len = >Looks like the Javascript menu component Will, details @ > >http://developer.netscape.com/viewsource/smith_menu2/smith_menu2.html > >-Original Message- >From: WL [mailto:[EMAIL PROTECTED]] >Sent: 29 June 2000 19:22 >To: Cold Fusion Talk >Subject: Javascript > > >Hi, > >At http://www.whatcar.co.uk if you point at the headings, such as "Used Cars >For Sale", it loads a further menu. Is this purely Javascript and DHTML, or >is CF involved at all? > >Thanks > >Will > > >-- >Archives: http://www.eGroups.com/list/cf-talk >To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or >send a message to [EMAIL PROTECTED] with 'unsubscribe' in >the body. >-- >Archives: http://www.eGroups.com/list/cf-talk >To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or >send a message to [EMAIL PROTECTED] with 'unsubscribe' in >the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
OT: Javascript...
I have set up an CF application with an application & session timeout of 10 minutes. I also have a countdown timer (via javascript) running in the top frame of the browser. When a user loads another document into the bottom frame the counter should reset and start counting down again. How do I call the requisite javascript function in the top from with the onLoad event in the bottom frame to reset the timer? I assumed something link but this doesn't seem to work. Any help gratefully appreciated. - Alan S. Willis -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Javascript Help
Looking for any help in being able to do the following. I am looking at a string "test,test1,test2,test3", and what I would like to do is get the value of these from the form variable sounds simple enough. But how to I get the item out of the string using _javascript_. In coldfusion I would used ListGetAt, but I can't seem to find anything in JS to do this. Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9686 0485 - Fax: 03 9699 7976 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
strip javascript
Hi All, Does anybody know about any custom tag or function which can strip _javascript_. I have used striphtml function from cflib.org but it does not strip the _javascript_. Ketan Patel [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Javascript Help...
I would like to pop a window via a javascript. This isn't a problem, I know how to pop a window. I don't want a toolbar and I want it to be a specific size. The problem is I want to pass form parameters to the page when I pop the window. I don't want to have url parameters. Any ideas would be "bloody marvolous" Thanks, Neil p.s. That quote is from Lethal Weapon 4 :) -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
javascript editors....
Does anyone know of a text editor that comes with full supported "dot operator" pop-up functionality (kind of like the VB IDE has) for javascript? Just curious. ~Simon > Simon Horwith > Senior Developer > Fig Leaf Software, Inc. > 1400 16th St NW, # 220 > Washington DC 20036 > 202.797.6570 (direct line) > www.figleaf.com > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Javascript
> I can't remember how to determine the value of a checked > radio button and my wonderful book from O'reilly ain't helping. That's because you're not reading it right! Just kidding. You'll need to loop through all of the radio buttons with the same name, and find out which is checked. Here's an example, which should work fine although I didn't test it: for (i = 0; i < document.forms[0].myradiobutton.length; i++) { if (document.forms[0].myradiobutton[i].checked) { alert(document.forms[0].myradiobutton[i].value); } } Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
Javascript Arrgh!!
Can any of you javascript gurus out there lend a helping hand ??? This works in netscape 4.x, but fails in i.e. 4 with a message that says : "object doesn't support this property or method." It looks like it's failing on the semi-colon after the word top Changing the type from button to submit, makes the onclick "work", but the cstartlot does not get passed onto the next page. fyi, there will be 3 or 4 of these buttons in the form, each with a different startlot that needs to be passed onto search.cfm. Brian L. Wolfsohnhttp://www.cus.com CUS Business Systems Ft.Lauderdale,FL Software for Auctioneers (954) 565-5600 Email:[EMAIL PROTECTED] -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
CF/Javascript
HI, I'm a cf newbie (about 3 months) and I was given the task of putting a link on the bottom of every page in a cf site to a) pull the url off the page they are on b) send the user and the url to a form to email that url to a friend. My first impulse was to use the onrequestend.cfm and use the cgi variable to pull the url off the page. The problem is that half the pages in the site are static html pages so the onrequestend.cfm won't work for the site. So now I think I need a way to do this in Javascript (pull the url off the page) and then send them and the url to the email form which will be a cf template. Any suggestions on how to do this (example code)? --zach -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE:CF/Javascript
>HI, I'm a cf newbie (about 3 months) and I was given the task of putting a >link on the bottom of every page in a cf site to a) pull the url off the >page they are on b) send the user >and the url to a form to email that url to a friend. My first impulse was to >use the onrequestend.cfm and use the cgi variable to pull the url off the >page. The problem is that half >the pages in the site are static html pages so the onrequestend.cfm won't >work for the site. So now I think I need a way to do this in Javascript >(pull the url off the page) and then >send them and the url to the email form which will be a cf template. Any >suggestions on how to do this (example code)? You really should ask the question on a javascript group, but here's the answer. Use the location object. go to my email form There you go. Of course you still face the issue of no javascript on the person's browser. In that case you would print out the above in javascript too. This way people without javascript or who have it turned off won't even see the option. Of course if you're using something like IIS or Netscape, you can use the other server-side scripting available to you. Roy. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Javascript Expert??
Hi, I don't know if this is a javascript thing but I have a website that has several links on the front page that produce a 'pop-up' window to various files. Everytime they click on a different link I have it set up so that the same 'pop-up' window is used to show a different file. The problem is if someone has there Netscape or IE 'Maximized' the first link they click on shows up but then for the rest the 'pop-up' falls behind the 'Maximized' main window. Is there any way to make the'pop-up' window always stay in front of the main window?? Here is my code below. Thanks http://www.myserver.com/cfdocs/Events/#ID#.cfm','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,screenX=1,screenY=25,width=250,height=300');"> __ Get Your Private, Free Email at http://www.hotmail.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Application.cfm & javascript
This is a multi-part message in MIME format. --=_NextPart_000__01BFA54B.7A48E0F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Anyone know of any limitations for using javascript within an appplication.cfm file? I am trying to open a pop-up window for user authentication if a condition is false, then close the window once authenticated. It seems to SORT OF work, but the pop-up window seems to be looping on itself...STRANGE!! Any suggestions greatly appreciated! --=_NextPart_000__01BFA54B.7A48E0F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Anyone = know of any=20 limitations for using javascript within an appplication.cfm file? = I am=20 trying to open a pop-up window for user authentication if a condition is = false,=20 then close the window once authenticated. It seems to SORT OF = work, but=20 the pop-up window seems to be looping on = itself...STRANGE!! Any = suggestions=20 greatly appreciated! --=_NextPart_000__01BFA54B.7A48E0F0-- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
OT - JavaScript
I have a script that pops up a small login window. My question is this. How can a make the login window pass the form info back to the original window and close the login window?? Thanks, Dave -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
cflocation/javascript
This is a multi-part message in MIME format. --=_NextPart_000_0013_01C14102.4BF2FC00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi We have a problem involving cflocation. In our code we have a user-intensive form, and when this is processed various (complicated) checks are performed to ensure data validity. If the numbers entered do not meet certain conditions, the page uses cflocation to redirect to a standard error page. However we have received emails suggesting that sometimes when this happens, and the user pressed back on their browser, their inputted data is lost and they have to enter it all again. We hoped to fix it with the following code, which we hoped would open a smaller window with the error message, while leaving the main window with data intact for easy modication: var popupfeatures = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,r esizable=yes,width=530,height=350"; function showWindow(myurl) { var win = open(myurl,'popupwindow',popupfeatures); win.focus(); } But while this works on my machine, it does not run on my colleague's. He is using Win2000 whereas I am using NT. Maybe it has something to do with the javascript running on the client while the cflocation is resolved on the server (Just a guess. I have no idea.) So my question is how can I achieve this. I've tried various other things which open a popup window but continues processing the main window, losing the entered data display. Any advice would help. By the way, I know you might suggest that I look into why the page is not remembering the data on the back button, or that I simply repost back to the form displaying the error message and data, but believe me, in the context of this code, this is very very complicated. Thanks Garry --=_NextPart_000_0013_01C14102.4BF2FC00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi We = have a problem=20 involving cflocation. In our code we have a user-intensive form, and = when this=20 is processed various (complicated) checks are performed to ensure data = validity.=20 If the numbers entered do not meet certain conditions, the page uses = cflocation=20 to redirect to a standard error page. However we have received emails = suggesting=20 that sometimes when this happens, and the user pressed back on their = browser,=20 their inputted data is lost and they have to enter it all=20 again. We = hoped to fix it=20 with the following code, which we hoped would open a smaller window with = the=20 error message, while leaving the main window with data intact for easy=20 modication: =20 var popupfeatures =3D=20 "toolbar=3Dno,location=3Dno,directories=3Dno,status=3Dno,menubar=3Dno,scr= ollbars=3Dyes,resizable=3Dyes,width=3D530,height=3D350"; &= nbsp;=20 function showWindow(myurl)=20 { var win =3D=20 open(myurl,'popupwindow',popupfeatures); = ;win.focus(); =20 } =20 <cflocation url=3D"javascript:showWindow('xxx')" addtoken=3D"no">=20 But = while this works=20 on my machine, it does not run on my colleague's. He is using Win2000 = whereas I=20 am using NT. Maybe it has something to do with the javascript running on = the=20 client while the cflocation is resolved on the server (Just a guess. I = have no=20 idea.) So my = question is=20 how can I achieve this. I've tried various other things which open a = popup=20 window but continues processing the main window, losing the entered data = display. Any advice would help. By the = way, I know=20 you might suggest that I look into why the page is not remembering the = data on=20 the back button, or that I simply repost back to the form displaying the = error=20 message and data, but believe me, in the context of this code, this is = very very=20 complicated. Thanks Garry --=_NextPart_000_0013_01C14102.4BF2FC00-- FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript HierMenus
This is a multi-part message in MIME format. --=_NextPart_000_0056_01C14201.01146980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi everyone, I have a question about the HierMenus, is it possible to = implement database in these menus? I'm trying to do a menu where the = menu topics come out of the database. I'm using cold fusion and when I = write the code in the js file it doesn't recognize it. I have configured = the menu to what I want, but the problem I'm having has to do with the = fact that .js file doesn't read cfm language. So I tried to call the cfm = in the javascript where it calls .js but it doesn't work. Do you know = anything about that? I've been picking my brain for 3 days now and I = can't figure it out. Please let me know if you know something. Thanks in advance, Kamila --=_NextPart_000_0056_01C14201.01146980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi = everyone, I have a=20 question about the HierMenus, is it possible to implement database in = these=20 menus? I'm trying to do a menu where the menu topics come out of the = database.=20 I'm using cold fusion and when I write the code in the js file it = doesn't=20 recognize it. I have configured the menu to what I want, but the problem I'm having has to do = with the fact=20 that .js file doesn't read cfm language. So I tried to call the cfm in = the=20 javascript where it calls .js but it doesn't work. Do you know anything = about=20 that? I've been picking my brain for 3 days now and I can't figure it = out.=20 Please let me know if you know = something. Thanks in advance, Kamila --=_NextPart_000_0056_01C14201.01146980-- FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: JavaScript ?>>>
Before I bang my head any harder (against a wall, of course)...can you add up totals on a form in Netscape? It works fine in iE, but we are running out of steam trying to get it functioning on NS... Tyler ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript ?>>>
> Before I bang my head any harder (against a wall, of > course)...can you add up totals on a form in Netscape? > It works fine in iE, but we are running out of steam > trying to get it functioning on NS... Yes, you can, but that's the best I can do without seeing code. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JavaScript ?>>>
Aw c'mon Dave you are a superstar, why do you need details? My guess would be someone is trying to use the "value" property of a dropdown rather than the value of the selected option. - Original Message - From: "Dave Watts" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 2:54 PM Subject: RE: JavaScript ?>>> > > Before I bang my head any harder (against a wall, of > > course)...can you add up totals on a form in Netscape? > > It works fine in iE, but we are running out of steam > > trying to get it functioning on NS... > > Yes, you can, but that's the best I can do without seeing code. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 > ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JavaScript ?>>>
You should be able to. Do you have a code example? - Original Message - From: "Tyler Silcox" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 3:50 PM Subject: OT: JavaScript ?>>> > Before I bang my head any harder (against a wall, of course)...can you add > up totals on a form in Netscape? It works fine in iE, but we are running > out of steam trying to get it functioning on NS... > > Tyler > > ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JavaScript ?>>>
We first check the form input to make sure it's a number, and then we calculate the values and "try" to insert them into the inputs, but Netscape doesn't like me very much (never has either) and I just don't know why. Relatively simple stuff going on: function checkValue(valtocheck){ valtocheck.toString().replace(/\$|\,/g,'') if(!isNaN(parseFloat(valtocheck))){ return parseFloat(valtocheck); } else { return 0; } } function changePrices(){ var printprice = 495; var quantity = checkValue(document.orderform.quantity.value); var taxpercent = checkValue(document.orderform.taxpercent.value); var discountper = checkValue(document.orderform.discount.value); document.orderform.totalprice.value = printprice * quantity; var discount = document.orderform.totalprice.value * discountper/100; var totdis = document.orderform.totalprice.value - discount; document.orderform.tax.value = totdis * taxpercent/100; //alert(document.orderform.shipval.value); document.orderform.shipcost.value = document.orderform.shipval.value; document.orderform.totalcost.value = parseFloat(totdis) + parseFloat(document.orderform.tax.value) + parseFloat(document.orderform.shipcost.value); if(isNaN(document.orderform.totalcost.value)){ document.orderform.totalcost.value = ""; } } Tyler - Original Message - From: "Dave Watts" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 4:54 PM Subject: RE: JavaScript ?>>> > Before I bang my head any harder (against a wall, of > course)...can you add up totals on a form in Netscape? > It works fine in iE, but we are running out of steam > trying to get it functioning on NS... Yes, you can, but that's the best I can do without seeing code. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript Anyone?
I know this is a little off topic, but does anyone know how to disable CTRL+N and F11 in IE??? I have the right click disabled, but would like to get rid of these abilities as well. Using it on an internal app only, so I don't have to worry about Netscape, but if the script someone has includes that...GREAT!!! Any help or pointers in the right direction would be wonderful. Thanks, ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript Issues
This is a multi-part message in MIME format. --4CF59B3E11384128573F9D51 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I am having the following problem: I need to dynamically populate a javascript file with query data. Is there a way to pass variables/structures to the javascript. Please let me know if anyone has had this problem, and if there is a light at the end of the tunnel. Thank you --4CF59B3E11384128573F9D51 Content-Type: text/x-vcard; charset=us-ascii; name="shawn.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Shawn Mirza Content-Disposition: attachment; filename="shawn.vcf" begin:vcard n:Mirza;Shawn tel;cell:954-695-0822 tel;fax:954-351-9099 tel;work:TEKgroup International, Inc. x-mozilla-html:FALSE url:http://www.tekgroup.com org:TEKgroup International Inc.;Internet Consultant version:2.1 email;internet:[EMAIL PROTECTED] title:Wireless Web Developer adr;quoted-printable:;;1001 W. Cypress Creek Rd.=0D=0ASuite 120;Fort Lauderdale;FL;33309;USA fn:Shawn Mirza end:vcard --4CF59B3E11384128573F9D51-- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ot javascript
anyone know of a decent javascript editor? thinking of something more on the lines of CF Studio except geared towards js ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
JavaScript VTM
All: Does anyone know of any .vtm file written for JavaScript functions? I've found ones for ASP, PHP, etc. I was just curious if there was one for JS. And also if anyone has a toolbar set for studio 4.5x. Thanks. = Joel Firestone - Lead Developer Delmarva Online Web Development http://www.dmv.com/ ~ Paid Sponsorship ~ Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support Visit SoloServer, https://secure.irides.com/clientsetup.cfm. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javascript problem
Happy holidays, This problem is boggling my mind. It only happens when I put the code in the 'root' application. I'm trying to test for a 'session.userid' variable that is supposed to be set after someone logs in with the correct username and password. As you can see I am testing it by deleting my session variable and the page with the login screen, which is a pop-up window, does come up. Except that the pop-up window goes into an infinite loop of refreshing itself. I can't figure it out. HELP!! Thanks function openpopup(){ openpopup=window.open("login.cfm","newWin","width=200,height=150,left=400, right=300") } ~ Paid Sponsorship ~ Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support Visit SoloServer, https://secure.irides.com/clientsetup.cfm. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javascript cookie
Dear all, If a cookie variables have been set using javascript, can I read it directly into Cold Fusion's cookie variable ? How ? Is there any URL that explain about using Cookie in CF ? tnx nandi ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript validating
How can you use Javascript to validate an function validate() { if (document.myForm.DirectoryFile.value == ""); { alert("Choose the participants.xls file in your computer."); return false; } return true; } --- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Javascript
FYI, the path in the location bar is https://192.168.130.53/oim/window.history.back(-1) and it says in the body Not Found. Could this because I have my cache set to zero? Philip Arnold - ASP wrote: > > > I want to send the user back two screens after the alert. The following > > notation does not seem to work, it just keeps them at the same screen. > > FYI, the CFOUTPUT tags are valid. > > > > > > <!-- > > <cfoutput> > > alert("Work order #form.id# has been re-assigned to > > #Trim(form.assigned)#.") > > location.href='javascript:window.history.back(-2)' > > </cfoutput> > > //--> > > > > OK, why are you putting the JavaScript function in apostrophies? > Try; > location.href=window.history.back(-2); > > Not tested, but it should work > > Philip Arnold > Director > Certified ColdFusion Developer > ASP Multimedia Limited > T: +44 (0)20 8680 1133 > > "Websites for the real world" > > ** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ** > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: Javascript
Does anyone now how to prevent someone from accessing a page that is supposed to be shown only in a popup window. I.E. I use a video player that is embedded in a popup window and I want to make sure that someone cannot access the template directly in a full browser window. Any help? Robert Forsyth Director of Web Operations Irides, LLC [EMAIL PROTECTED] Phone: 202-364-7831 Fax: 202-364-2481 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: Javascript
Sorry for the off topic question... Does anyone now how to prevent someone from accessing a page that is supposed to be shown only in a popup window. I.E. I use a video player that is embedded in a popup window and I want to make sure that someone cannot access the template directly in a full browser window. Any help? Robert Forsyth Director of Web Operations Irides, LLC [EMAIL PROTECTED] Phone: 202-364-7831 Fax: 202-364-2481 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Javascript
Robert, How about this: When you point to this popup window from your site, append a variable in the query string (e.g., ?ProperlyLaunched=True). Then the popup window checks for this variable. If it doesn't exist, use JavaScript to go back one page. If you are worried that users would hack in by figuring this out and appending the string, you could do a complicated and ugly scheme that I'm not even sure will work. :) From the web site, use this to launch a window we'll call W1: window.open(FileName,'W1',{OTHER PROPERTIES}) On W1, automatically open your pop-up window called W2: window.open(FileName,'W2',{OTHER PROPERTIES}) On W2, check to see if W1 is open. (I don't know how to do this, or if it's possible.) If it is, close W2 and launch your video player. If it is not, open W1 using the first line of code above and then go back one page. This should force the little cycle to start. Does this make any sense? I've eaten about forty clementines so far this morning. I think they are turning my brain orange. Hope this helps, Matthieu > -Original Message- > From: Robert Forsyth [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 18, 2001 1:01 PM > To: CF-Talk > Subject: OT: Javascript > > > Does anyone now how to prevent someone from accessing a page > that is supposed to be shown only in a popup window. I.E. I > use a video player that is embedded in a popup window and I > want to make sure that someone cannot access the template > directly in a full browser window. > > Any help? > > Robert Forsyth > Director of Web Operations > Irides, LLC > [EMAIL PROTECTED] > Phone: 202-364-7831 > Fax: 202-364-2481 > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Javascript
It's not great, but I simply added a new URL parameter. Then I checked for that in the popup code. FYI - in case your curious, I added this code to Death Clock since many people were linking to the small window directly, not to my site. What is _incredibly_ sad is this - I added a message to the small window stating what was going on and asking people to go the site directly. You wouldn't believe how many idiots completely ignored the text and just sent me email saying it wasn't working. Even worse, some would say it wasn't working and cut and paste the error message from the text. My normal response was, "Well, did you actually READ the message before cutting and pasting it into a new email?" === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Robert Forsyth [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 19, 2001 9:33 AM > To: CF-Talk > Subject: OT: Javascript > > > Sorry for the off topic question... > > Does anyone now how to prevent someone from accessing a page that > is supposed to be shown only in a popup window. I.E. I use a > video player that is embedded in a popup window and I want to > make sure that someone cannot access the template directly in a > full browser window. > > Any help? > > Robert Forsyth > Director of Web Operations > Irides, LLC > [EMAIL PROTECTED] > Phone: 202-364-7831 > Fax: 202-364-2481 > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Javascript
I'm sure there is a JavaScript way, but using CF you could assign a cookie or session variable to the user in the main template (in the normal browser window), and then check for its existance (or even a unique value) in the template that is displayed in the pop-up. Matt Matthew I. Fusfield [EMAIL PROTECTED] Senior Web Systems Developer, InterActive Network Systems, Inc. -Original Message- From: Robert Forsyth [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 9:33 AM To: CF-Talk Subject: OT: Javascript Sorry for the off topic question... Does anyone now how to prevent someone from accessing a page that is supposed to be shown only in a popup window. I.E. I use a video player that is embedded in a popup window and I want to make sure that someone cannot access the template directly in a full browser window. Any help? Robert Forsyth Director of Web Operations Irides, LLC [EMAIL PROTECTED] Phone: 202-364-7831 Fax: 202-364-2481 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Javascript
Have you considered using HTTP_REFERER? That way, if it does not come from your calling page which contains your JS for the popup, then they can't get in. http://www.mysite.com/referingpage.cfm"> YOU'RE BUSTED Dave - Original Message - From: "Robert Forsyth" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 19, 2001 9:32 AM Subject: OT: Javascript Sorry for the off topic question... Does anyone now how to prevent someone from accessing a page that is supposed to be shown only in a popup window. I.E. I use a video player that is embedded in a popup window and I want to make sure that someone cannot access the template directly in a full browser window. Any help? Robert Forsyth Director of Web Operations Irides, LLC [EMAIL PROTECTED] Phone: 202-364-7831 Fax: 202-364-2481 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript validation
Does anyone know how to "trim" a value using Javascript? I'd like to use JS form validation but entering a space in the form field causes JS to think a valid value has been entered. In CF you just use the TRIM() function to see if a field is blank or not, but how can I do it in JS without a looping structure?? Bryan Love ACP [EMAIL PROTECTED] -Original Message- From: Campbell Morton [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 2:06 PM To: CF-Talk Subject: Re: CFSouth notes >Incremental Page Layout - Dont know what this is all about... At our last CFUG - it apparently is similar to ASP's 'flush buffer' function - which can push out the processed page as it goes - so you don't have to wait until the entire page is processed to see any result. I guess it will help make things 'appear' quicker ; ) Cam. - Campbell Morton Application Developer Facilities Assist - ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: JavaScript?
Does anyone have a good javascript that will allow you to type ina startDate and endDate and it will calculate the number of days inbetween and populate a 3rd form field on the fly? any help would be appreciated. -chris.alvarado [developer] - VerticalNet This message is intended only for the use of the Addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify [EMAIL PROTECTED] immediately. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript?
Does it need to be javascript? Can you use a custom tag? If so, Nate Weiss has a tag on DevExchange, check this out: (I have not used it, but it sounds like it may do what you wish...) http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=cf_how longhasitbeen ~~ Does anyone have a good javascript that will allow you to type ina startDate and endDate and it will calculate the number of days inbetween and populate a 3rd form field on the fly? any help would be appreciated. -chris.alvarado [developer] - VerticalNet ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript?
the reason I wanted it to be Java Script is so that I might then populate a 3rd form field on the fly with the difference. -chris -Original Message- From: Saidi; Marwan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 2:04 PM To: CF-Talk Subject: RE: JavaScript? Does it need to be javascript? Can you use a custom tag? If so, Nate Weiss has a tag on DevExchange, check this out: (I have not used it, but it sounds like it may do what you wish...) http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=cf_how longhasitbeen ~~ Does anyone have a good javascript that will allow you to type ina startDate and endDate and it will calculate the number of days inbetween and populate a 3rd form field on the fly? any help would be appreciated. -chris.alvarado [developer] - VerticalNet ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript?
just wanna let u know i am workin on it ehh hehehehe -Original Message- From: Chris Alvarado [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 1:35 PM To: CF-Talk Subject: OT: JavaScript? Does anyone have a good javascript that will allow you to type ina startDate and endDate and it will calculate the number of days inbetween and populate a 3rd form field on the fly? any help would be appreciated. -chris.alvarado [developer] - VerticalNet This message is intended only for the use of the Addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify [EMAIL PROTECTED] immediately. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript?
nevrmind i lied -Original Message- From: Chris Alvarado [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 1:35 PM To: CF-Talk Subject: OT: JavaScript? Does anyone have a good javascript that will allow you to type ina startDate and endDate and it will calculate the number of days inbetween and populate a 3rd form field on the fly? any help would be appreciated. -chris.alvarado [developer] - VerticalNet This message is intended only for the use of the Addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify [EMAIL PROTECTED] immediately. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript?
> Does anyone have a good javascript that will allow you to type ina startDate > and endDate and it will calculate the number of days inbetween and populate > a 3rd form field on the fly? Chris This is the calculation http://developer.irt.org/script/2.htm You can do the rest with onChange or onBlur events. Nick ** Information in this email is confidential and may be privileged. It is intended for the addressee only. If you have received it in error, please notify the sender immediately and delete it from your system. You should not otherwise copy it, retransmit it or use or disclose its contents to anyone. Thank you for your co-operation. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JavaScript?
> Does anyone have a good javascript that will allow you to type ina startDate > and endDate and it will calculate the number of days inbetween and populate > a 3rd form field on the fly? > > any help would be appreciated. Since you asked I guess I'll post my quarterly reminder that there is an excellant javascript mailing list that was spawned by a CF-Talk member (me). It's called JS-Jive and has proven to be every bit as valuable as this list has been. You can find out more at http://groups.yahoo.com/group/JS-Jive or subscribe by sending a blank email to mailto:[EMAIL PROTECTED]. I ton of us are in this group so I invite one and all to join us! HTH, Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript VARS
Hi all, Is it possible to pass a javascript var back to CF? thanks, Charlie ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript IsDefined
Hi Folks, What is the Javascript equivalent to the Cold Fusion IsDefined function? (or does one even exist?!) TIA, - - - Jeanne ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript Function
Hi, Could anyone inform me of any javascript function that takes the total of numbers entered into a textbox and displays them in another? eg Item a = 2 (number in text box) Item b = 3 Item c = 4 Total = 9 (this total is generated by adding the items in the textboxes above) Any help will much apreciated Jerry Staple ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: JavaScript
Jerry Something like document.forms[0].total.value = parseInt(document.forms[0].a.value) + parseInt(document.forms[0].b.value) + parseInt(document.forms[0].c.value); Nick -Original Message- From: Jerry Staple [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 9:33 AM To: CF-Talk Subject: JavaScript Hi, Could anyone inform me of any javascript function that takes the total of numbers entered into a textbox and displays them in another? eg Item a = 2 (number in text box) Item b = 3 Item c = 4 Total = 9 (this total is generated by adding the items in the textboxes above) Any help will much apreciated Jerry Staple Jerry Staple Web Applications Developer BizNet Solutions 133 - 137 Lisburn Rd Belfast BT9 7AG Tel: +44 (0)28 9022 3224 Fax: +44 (0)28 9022 3223 www.biznet-solutions.com ** Information in this email is confidential and may be privileged. It is intended for the addressee only. If you have received it in error, please notify the sender immediately and delete it from your system. You should not otherwise copy it, retransmit it or use or disclose its contents to anyone. Thank you for your co-operation. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript Dillema
Hi Could anyone help me with this dillemma,Here goes: Ive got two multiple select boxes(Named List1 and List2) with >> & << buttons to transfer values across from List1 to list 2 which works fine.I have also got another multiple select box named "Fields" within the same form, this is the dillema: When i select a value in List1 i want to submit the form within itself and pass the value of list one (Bu_ID), which then based on the( Bu_id) it will query a table in the data base and pull out details for that (Bu_id) and display the details in the "Fields" multiple select box. But ther are only 3 events on a select box"onBlur""onChange""onClick"??? A picture Paints a Thousand words so here it is: http://www.biznetprojects.co.uk/CountrySelect.cfm Many Thanks Jerry Staple Web Applications Developer BizNet Solutions 133 - 137 Lisburn Rd Belfast BT9 7AG Tel: +44 (0)28 9022 3224 Fax: +44 (0)28 9022 3223 www.biznet-solutions.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
JavaScript Function
Hi, Could anyone give me advice on the following function? Ive got 2 Select boxes with Years as the value for each,so that the user can pick dates from to etc. ie From 1999 up to 2030 to 1999 up to 2030 what i require is a function (Onsubmit) that makes sure that the year to is not less than the year from,throwing up an alert box. Many Thanks in Advance Jerry Staple Web Applications Developer BizNet Solutions 133 - 137 Lisburn Rd Belfast BT9 7AG Tel: +44 (0)28 9022 3224 Fax: +44 (0)28 9022 3223 www.biznet-solutions.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript Question
I am looking for some Javascripting help. I have seen this done before, but do not know where to start on the coding for this. I am not JS minded. I have 2 select fields. The means for this is going to be used for call logging for a technical department. The first select field will hold the possible Technical Problems that could arise. And the second I would like to have generate, from a query, the possible solutions for this problem. I know I have to preload the solutions for each problem type so that the page does not need to refresh to obtain the solutions. Anyone follow me, or have I lost you like I have lost my own mind. Either an example of some sort to go from, or possible a good tut. that will guide me in the completion of this project. Thanks in advance, - Mike Lansing [EMAIL PROTECTED] www.woodenwagon.com - home to the sexiest wooden body vehicle known to man! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript Calendar
I am looking for a calendar that will pop up upon clicking on a link and then it will circle today's date and if I click on a date it will fill in the calling pages form. I know this has to be canned somewhere. If someone knows please let me have a link. Thanks everyone, and happy new year. Neil __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT javascript
how can i cap the 1st letter of every word in a sentence? i tried using regexp inthe following matter to no avail, myRegex=/^[a-z]|\s[a-z]/g mySentence="this is a sentence"; mySentence=mySentence.replace(myRegex,/[A-Z]/); now some thing like this would've worked in perl because you can replace a character from a correspondnig character in a set but apparently in javascript you cannot do so. any ideas how this can be done short of breaking the sentence at the spaces in to an array, capitalizing and then using .join(' ') to get everything back together? thanks-Savan __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javascript issue
HiYA, I'm sorry for having a silly little problem like this but its just doing my nut in. I have a page with multible form buttons with multible actions, .. so for each button I would have an event handler like so, .. in the header I have function viewSelect(action,encoding){ if(document.interfacing.viewSelection){ document.interfacing.action = action; document.interfacing.encoding = encoding; } return true; } I've checked action and encoding by doing a document.write and their fine. The post just isn't being pushed. Also I'm using ie5+ I know this concept won't work in nn3 or below ie4, "but jesus, we're are not in the business of dinosaurs". mmm.. Thank You advancing... Respectfully J .. __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT Javascript
I am trying to use the ondblclick event for a select box. It works fine in IE but netscape it doesn't do anything. All my books say Netscape does recognize this event. Does anyone know any reason it shouldn't work on netscape? **Items not to appear** more options __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
javascript question
Greetings, I'm confused over this, its strange. I have two dynamic select boxes populated server side by coldfusion. Both are initially populated the same, i.e. times of each record published in descending order. Also I build an array of these times The first select box acts as a filter, so when they select a time from the first the second repopulates 40 records from that time descending. This is what I have done, #LCASE(TIMEFORMAT(dt, 'hh:mm:tt'))# #LCASE(TIMEFORMAT(dt, 'hh:mm:tt'))# Ok this works visually but I cannot extract values from the repopulated select box. I tried this, document.interfacing.timeTo.length = 0 for(var j = 0; j < 40; j++){ //set select 2 starting from x, were x is the index to use //with the valueList array document.interfacing.timeTo.options[j].value = new Option(ValueList[x]) document.interfacing.timeTo.options[j].text = new Option(ValueList[x])x = x + 1 } now this I thought would have worked, but after the second select clears itself, it does not repopulate. Sorry for the OT post, but if someone could guide me, thank you!! J .. .. __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Javascript cookie
Ok, been awhile since I attempted a _javascript_ cookie in which I actually expire it instead of cfcookie... What is wrong with my syntax? This works setting the basic cookie: else{ c#attributes.containerid#.style.display= ""; document.cookie = 'c#attributes.containerid# = yes'; dark#attributes.containerid#.src =""> '/hzc/images/module_open_dark.gif'; } This does not, where is my syntax goofiness messed? if (c#attributes.containerid#.style.display == "") { c#attributes.containerid#.style.display = "none"; var never = new Date() never.setTime(never.getTime() + 2000*24*60*60*1000); var expString = "; expires=" + never.toGMTString(); var cokname = 'c#attributes.containerid#'; document.cookie = cokname + "=" 'no;'; document.cookie = cokname + "=" + escape(value) + expString; dark#attributes.containerid#.src =""> '/hzc/images/module_closed_light.gif'; } Thanks! Regards, Eric J. Hoffman Managing Partner Datastream Connexion, LLC 1.888.690.2893 results. delivered. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
JavaScript Compatibility
Does anybody know why this would Not be Compatible with Win 95/AOL?
function switchLocation(loc){
location.href = ""> return true;
}
> mm ms Does AOL/Win 95 have problems with JS Files? Thanks, Joe Eugene [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
JAVASCRIPT help
Can someone give me a hand on _javascript_ validation? I have a form with the following fields title story link target with the value of "_self" "_blank" and "" What I want that "TITLE and STORY should not be empty and if something in the link then target sould not be empty" Will appriciate that Regards, Asim Manzur [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Compressing Javascript
Does anyone know of a UDF or customtag that will compress _javascript_ to cut down on file size? I know there are apps that do this, and I would like to include this functionality with some of our dynamically generated pages. Thanks! Brook Davies [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT -- JavaScript
I'm having a little trouble with this script ... here's the bit of code in question ... packageAtribs = new Object(); packageAtribs.holidaySelection = document.rentalForm.Holidays.value; if I do -- alert(document.rentalForm.Holidays.value); I get the expected value. But alert(packageAtribs.holidaySelection); gives me a blank. While, packageAtribs.holidaySelection = 1; Gives me 1 on the alert. If I parseInt() on document.rentalForm.Holidays.value, I get NaN on the alert. To me, it should be pretty straight forward ... packageAtribs.holidaySelection = document.rentalForm.Holidays.value; should produce the expected results. I can't see, right now, any other way to get the value set that I want. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:OT -- JavaScript
Thanks, but still shoot blanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
JavaScript question
I am writing a small database data dictionary app. Since the db has over 500 tables I created a small form at the top of the page where I can start to type in the first few letters of the tables and it will parse the list down of available tables to choose from. Once I get the table I want, I want to hit the go button and it will take me to the table definition lower in the page beneath the form. The parsing piece works, the problem I am having is trying to get the url to post correctly through the form to go down to the part in the page the data is. Here is my code. any ideas? SELECT DISTINCT tablename FROM dictionary ORDER BY tableName SELECT * FROM dictionary ORDER BY tableName,fieldname
function goTo(url)
{
location.href = ""> }
function searchSelectBox(in_sFormName, in_sInputName, in_sSelectName)
{
sSearchString = document.forms[in_sFormName].elements[in_sInputName].value.toUpperCase();
iSearchTextLength = sSearchString.length;
for (j=0; j < document.forms[in_sFormName].elements[in_sSelectName].options.length; j++)
{
sOptionText = document.forms[in_sFormName].elements[in_sSelectName].options[j].text;
sOptionComp = sOptionText.substr(0, iSearchTextLength).toUpperCase();
if(sSearchString == sOptionComp)
{
document.forms[in_sFormName].elements[in_sSelectName].selectedIndex = j;
break;
}
}
}
#UCase(tablename)# #UCase(tablename)# Column Data Type Size Description #fieldname# #fielddatatype# #fieldlength# #fielddesc# back to top [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
javascript check?
Is there a way to detect if the client browser has _javascript_ turned on using CF? In other words, when the client makes a cfm page request, is there some kind of CGI variable that is passed through? I can clarify more if need be Thanks, Ray = Ray Champagne - Senior Application Developer CrystalVision Web Site Design and Internet Services 603.433.9559 www.crystalvision.org = The information contained in this transmission (including any attached files) is CONFIDENTIAL and is intended only for the person(s) named above. If you received this transmission in error, please delete it from your system and notify us immediately. If you are not an intended recipient, please note that any use or dissemination of the information contained in this transmission (including any attached files) and the copying, printing, or retransmission of that information is strictly prohibited. You can notify us by return email or by phone at 603.433.9559. Thank you. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
JavaScript Question
Is there a way, using JavaScript to get a list of objects on a page and then determine the object's type? I have a page that is dynamically created with a multiple input boxes and multiple select boxes. I am writing a JS validation script that loops thru all the fields and checks to see if the object is checked, selected or completed. Any ideas? Thanks, Duane ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192905 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Javascript question
I didn't know of a good JS list I have the code below. The if loop seems to kill the script. The IF loop runs fine but the alert after the FOR and everything after the FOR for that matter, fail to execute. function Validator() { var myform = document.getElementById('SuggestionForm'); var errMsg = '' var checkboxcounter = 0 if (myform.SuggestionText.value == '') errMsg = errMsg + '- Please explain your suggestion.\n\r' if (myform.SuggestTitle.value == '') errMsg = errMsg + '- Your suggestion needs a title.\n\r' alert(myform.Impact.length); for (i = 0; i <= myform.Impact.length; i++) { if (myform.Impact[i].checked) { alert('true'); checkboxcounter++; }else{ alert('false'); } } alert('hi'); alert(checkboxcounter); if (errMsg != '') alert(errMsg) else myform.submit() } Any thoughts. -- John Wilker Writer/Web Consultant www.red-omega.com "I balance, I weave, I dodge, I frolic, and my bills are all paid. On weekends, to let off steam, I participate in full-contact origami." ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195053 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
OT-javascript
Trying to run a simple print window java script but it fails here is the code. Object expected? Print This Page ~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186472 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Javascript
On Wednesday 13 Aug 2003 10:41 am, David Collie (itndac) wrote: > Not sure how to do it without case, anybody else? Use the regexp engine ? -- Tom Chiverton (sorry 'bout sig.) Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Javascript
On Wednesday 13 Aug 2003 14:08 pm, DeShazo, Jonathan P. (Keane) wrote: > re = /Match/i; > str = "I am searching for matches"; > myIndex = str.search(re); > I'd like to see this done more concisely. Anyone else have a good one? myIndex = str.search(/Match/i); ? -- Tom C "Land of the free, home of the brave... you have to be brave to live there and enjoy the freedoms" ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4