OT JS Help
I have a set date already and I want to make sure that the date entered is not higher than the current set date and if so then a warning would show. In my reasearch js kind of bites when it comes to dates so I need some help. In short I want to make sure that date1 !> an entered form value. Thanks, Joshua Tipton ~| 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
OT: JS help
Ok, this is an odd request but: I was curiosu if it is possible with javascript to reference the value of the text contained inbetween the Thevalue Any help would be awesome. I need to do this with JS only Thanks Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [EMAIL PROTECTED] ~| 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
OT: JS help
Hello all, I'm trying to use a calendar custom tag (cf_formFieldCalendar) inside a secure directory. Inside the tag it has a window.open command that spawns a window. When it does, the browser prompts that you're leaving a secure area. The tag is inside the secure directory. Can anybody tell me how to get it so the browser doesn't prompt the user that they're leaving a secure area? Thanks in advance, Tim Here is a piece of the js: function openCalWin_#attributes.target#() { stats='toolbar=no,location=no,directories=no,status=no,menubar=no,' stats += 'scrollbars=no,resizable=no,width=300,height=250' CalWin = window.open ("","Calendar",stats) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT JS Help
if (parseInt(document.form.Date1.value) > parseInt(document.form.Date2.value)) { alert("Date1 must be before the Date2!") document.form.Date1.focus() return false; } -Original Message- From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 10:32 AM To: CF-Talk Subject: OT JS Help I have a set date already and I want to make sure that the date entered is not higher than the current set date and if so then a warning would show. In my reasearch js kind of bites when it comes to dates so I need some help. In short I want to make sure that date1 !> an entered form value. Thanks, Joshua Tipton ~| 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.
RE: OT JS Help
I am not sure if you are trying to do a whole date or just a the month part or what. This is one of my favorite JS sites. Look at the Date object - perhaps that might help. http://developer.netscape.com/docs/manuals/communicator/jsref/contents.htm Cheers, Rob Certified Organic "When you put things in quotes, people think someone actually said it." http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -Original Message- From: Tim Do [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 10:51 AM To: CF-Talk Subject: RE: OT JS Help if (parseInt(document.form.Date1.value) > parseInt(document.form.Date2.value)) { alert("Date1 must be before the Date2!") document.form.Date1.focus() return false; } -Original Message- From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 10:32 AM To: CF-Talk Subject: OT JS Help I have a set date already and I want to make sure that the date entered is not higher than the current set date and if so then a warning would show. In my reasearch js kind of bites when it comes to dates so I need some help. In short I want to make sure that date1 !> an entered form value. Thanks, Joshua Tipton ~| 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
RE: OT JS Help
You need to be able to parse the date out of the form field. I wrote a JS library that handles this (and several other types of validation). Take a look at http://66.0.48.14/js/ Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com > -Original Message- > From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 1:32 PM > To: CF-Talk > Subject: OT JS Help > > > I have a set date already and I want to make sure that the > date entered is > not higher than the current set date and if so then a warning > would show. > In my reasearch js kind of bites when it comes to dates so I > need some help. > > In short I want to make sure that date1 !> an entered form value. > > Thanks, > > Joshua Tipton > ~| 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
Re: OT: JS help
JS Popup browsers are called like this: window.open('http://www.mydomain.com/pagename.html','windowname','[attributes]'); This code is in the code of your custom tag. You must adjust this code to say "https:" instead of "http:". If the tag calls the popup page as a relative link rather than an absolute path then you will probably have to change it to an absolute path. Hope this helps. Cutter Tim Do wrote: > Hello all, > > > I'm trying to use a calendar custom tag (cf_formFieldCalendar) inside a > secure directory. Inside the tag it has a window.open command that spawns > a window. When it does, the browser prompts that you're leaving a secure > area. The tag is inside the secure directory. Can anybody tell me how to > get it so the browser doesn't prompt the user that they're leaving a secure > area? > > > Thanks in advance, > Tim > > > Here is a piece of the js: > > > function openCalWin_#attributes.target#() { > stats='toolbar=no,location=no,directories=no,status=no,menubar=no,' > stats += 'scrollbars=no,resizable=no,width=300,height=250' > CalWin = window.open ("","Calendar",stats) > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT: JS help
The browser will *always* prompt the user that they are leaving a secure area (this is a feature not a bug) unless you open a secure URL in the flyout window. --Ben Tim Do wrote: > Hello all, > > > I'm trying to use a calendar custom tag (cf_formFieldCalendar) inside a > secure directory. Inside the tag it has a window.open command that spawns > a window. When it does, the browser prompts that you're leaving a secure > area. The tag is inside the secure directory. Can anybody tell me how to > get it so the browser doesn't prompt the user that they're leaving a secure > area? > > > Thanks in advance, > Tim > > > Here is a piece of the js: > > > function openCalWin_#attributes.target#() { > stats='toolbar=no,location=no,directories=no,status=no,menubar=no,' > stats += 'scrollbars=no,resizable=no,width=300,height=250' > CalWin = window.open ("","Calendar",stats) > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT: JS help
Bingo, exactly what I said. -Original Message- From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 2:25 PM To: CF-Talk Subject: Re: OT: JS help JS Popup browsers are called like this: window.open('http://www.mydomain.com/pagename.html','windowname','[attribute s]'); This code is in the code of your custom tag. You must adjust this code to say "https:" instead of "http:". If the tag calls the popup page as a relative link rather than an absolute path then you will probably have to change it to an absolute path. Hope this helps. Cutter Tim Do wrote: > Hello all, > > > I'm trying to use a calendar custom tag (cf_formFieldCalendar) inside a > secure directory. Inside the tag it has a window.open command that spawns > a window. When it does, the browser prompts that you're leaving a secure > area. The tag is inside the secure directory. Can anybody tell me how to > get it so the browser doesn't prompt the user that they're leaving a secure > area? > > > Thanks in advance, > Tim > > > Here is a piece of the js: > > > function openCalWin_#attributes.target#() { > stats='toolbar=no,location=no,directories=no,status=no,menubar=no,' > stats += 'scrollbars=no,resizable=no,width=300,height=250' > CalWin = window.open ("","Calendar",stats) > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]