They're just using a bit of script to control what appears in the browser's
status bar, triggered by the mouseover. This is from a google link:
a href=/url?q=http://www.gamblehouse.com
onMouseOver=window.status='go to www.GambleHouse.com';return true
onMouseOut=window.status='';return true
Jim,
They're just using a bit of script to control what appears in the
browser's
status bar, triggered by the mouseover. This is from a google link:
a href=/url?q=http://www.gamblehouse.com
onMouseOver=window.status='go to www.GambleHouse.com';return true
Unfortunately there's no one size fits all answer. The books that were
suggested should help you understand how Microsoft's security works.
Your admin people probably install software using their admin accounts for
the same reason we do here. We do not allow users rights to install
software to
Hi all,
Ok, having an annoying little problem, and I'm sure that it's something
really obvious that I should know, but I guess I have just looked at it for
too long.
This is my query:
cfquery name=addevent datasource=#Request.App.dsn#
INSERT INTO tbl_events(name, borough,
All working nowthe delete date field was having a problem when no data
was being added.
Cheers
Will
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2002 11:30
To: CF-Talk
Subject: query problem
Hi all,
Ok, having an annoying little problem, and
Will,
Your date needs to be an ODBC Date.
Use CreateODBCDate() on your Date form field and CreateODBCTime() on your
Time form Field.
Regards
Stephen
- Original Message -
From: Will Swain [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 11:29 AM
Hi,
I'm reading in contents of a file and want to manipulate the output.
The contents of text.txt reads as follows:
file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
cffile action=READ
file=c:\text.txt
variable=ReadMe
cfoutput
Added virtual directory (/btauxdir) to virtual server (MACHINENAME) in MS
IIS metabase.
How can that be avoided. I am not sure I understand the significance of
adding this mapping and I really don't want allaire modifying the metabase.
Please advise,
Neil
Hi Stephenalready done that. The problem, I think, was that the delete
date field was spazzing out when it was empty, causing the error. I'm
putting a default date in there now, if none is entered, and it seems to
work fine.
Cheers
Will
-Original Message-
From: Stephen Moretti
There are a lot of ways to do that, probably much simpler than the
following.
I'd just use Find() to locate the spaces and replace them with line breaks,
creating a new string var as you go, then output the new string.
The contents of text.txt reads as follows:
file1.txt
file2.txt
file3.txt
This is pretty simple:
#left(num, find('.', num) + 2)#
--
Bud Schneehagen - Tropical Web Creations
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
On 2/21/02, Jason Davis penned:
I want to reffer certain webpages upon click of an ANCHOR
something like:
a
href=http://www.mydomain.com/redirect/ref.cfm?url=http://www.jumpto.com;
Click here to visit/a
Issue is, on ref.cfm I have a script that counts the hits
I gave to http://www.jumpto; - but
Can someone tell me how to get this fixed? or at least when it will be
fixed?
We are trying to get result sets back form a stored procedure back form and
AS400 machine to a Unix Box?
Can anyone help?
-Original Message-
I just got an interesting reply to my posts at the
I have a local copy of CF Server installed on my machine. When I go into CF
Administrator I see Merant ODBC Drivers for Oracle. We run CF Professional on
our servers. Those servers do not display ANY Oracle ODBC drivers in the CF
Administrator. I know that these can be set up using MS ODBC
Hi,
You could try something like this:
cffile action=READ
file=c:\readme.txt
variable=ReadMe
CFSET ReadMe = replace(ReadMe,#Chr(13)##Chr(10)#, br, ALL)
cfoutput
p#ReadMe#/p
/cfoutput
I think this might work also,
Added virtual directory (/btauxdir) to virtual server
(MACHINENAME) in MS IIS metabase.
How can that be avoided. I am not sure I understand the
significance of adding this mapping and I really don't
want allaire modifying the metabase.
This virtual directory is added for CF Server's
Bud,
The sponsored links DO show the URL.
http://www.google.com/url?q=http://www.romancasino.com/prt.jsp%3Fid%3DCAMP02
02Google%26banner%3Dcasino%26ver%3D724060716sa=Aai=ngiwpah:a:dymnl:bqiyp:p
gt:fyh:cqukj:dx:dhjpicm:tovb:ioljbu:bcbe:ohlmq
Yea, I know that it is displayed, and I know I can
I have a client web site that is all static HTML documents. The client has
decided that they want some web application functionality within the site.
It's not enough to dig the site up by the roots and start changing .html to
cfm . In fact, it's a bit of code not unlike the Good Morning / Good
[snip]
CFSET ReadMe = replace(ReadMe,#Chr(13)##Chr(10)#, br, ALL)
[snip]
CFSET ReadMe = REReplace(#ReadMe#,[[:space:]],br,ALL)
Six and two threes as to which one is better. Apart from the second one has
a slight slip up... [:space:] would replace all the spaces with BR and
not the CRLF.
Nevermind, that was prety dumb. I'm just looking for an efficient way
to do
this without changing filenames and links. I'm not lazy, just don't
have a
budget alloted for it.
-Original Message-
From: Carlisle, Eric [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 10:31 AM
Hello,
In my cf script I am using the http_user_agent variable. It displays it
in a format that's confusing at times.
As an example: Mozilla/4.5 [en] (Win98; U)
Does this mean Netscape ver 4.5 english version using Windows98? What
does the captial U stand for?
Any help is appreciated.
Hi,
I'm reading in a ascii file that I need to loop through to add an input
box in front of each entry.
cffile action=READ
file=c:\text.txt
variable=ReadMe
cfset ReadMe = Replace(ReadMe, Chr(13) Chr(10), br, ALL)
cfoutput
#ReadMe#
/cfoutput
Outputs:
file1
file2
file3
Hi,
AKAIK thats one of the differences between 'professional' and
'enterprise' -
the extra money goes towards Merants ODBC/Native drivers (not cheap
:-).
HTH,
Ian
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2002 14:22
To: CF-Talk
Subject:
Hi,
Anyone have any pointers for downloading all the images etc along with the
html for a given page - in a cfhttp stylee?
Cheers,
Ian
Thoughtbubble Ltd
Media Development
United Kingdom
http://www.thoughtbubble.net
I think you could use
cfset ReadMe = Replace(ReadMe, Chr(13) Chr(10), , , ALL)
then treat ReadMe as a comma separated list to loop through to generate the
checkboxes
Alex
-Original Message-
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2002 15:47
To: CF-Talk
Subject:
I haven't looked to see if this is documented anywhere, but thought I
comment on it so everyone won't do the same dumb thing.
In CF Admin under mappings, if you click on a mapping to edit, erase the
name and the mapping, with the intent to modify it, and then change your
mind and click delete
yes
On Thu, 21 Feb 2002, Carlisle, Eric wrote:
I have a client web site that is all static HTML documents. The client h
as
decided that they want some web application functionality within the site
.
It's not enough to dig the site up by the roots and start changing .html
to
cfm . In
I need to take a bunch of individual PowerPoint slides (or images) and merge them into
ONE PowerPoint presentation ON THE SERVER then download this to the user.
Microsoft has clearly stated that PowerPoint (and all the Office apps) are NOT
intended to be used as server components. They are not
I haven't looked to see if this is documented anywhere,
but thought I comment on it so everyone won't do the same
dumb thing.
In CF Admin under mappings, if you click on a mapping to
edit, erase the name and the mapping, with the intent to
modify it, and then change your mind and
Hi,
I receive a base64 encoded binary (pdf format) from the USPS Electronic
Return system and need to display this pdf mail return label to my
customer. Following advice here, I used tostring() to convert the binary
into a string and have tried to write it to a file and then display the
file,
Under choose destination, there is not an option for text. Any ideas?
- Original Message -
From: Scott Van Vliet [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 5:43 PM
Subject: RE: Export to text
Be sure to create the text file first ;)
Thanks! This worked.
- Original Message -
From: nagraj [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 10:39 PM
Subject: Re: Export to text
Hi Kelly,
Go To Query Analyzer and query the table you wish and The result fo
r
that Query is shown
Text File is all the way at the bottom of the destination.
christopher olive, cto, vp of web development
atnet solutions, inc.
410.931.4092
http://www.atnetsolutions.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:56 AM
To:
Ye Microsoft say all that but then proceed to say, if you do want to do it
then here's the precautions you need to take.
We've done it with Excel and it's been running for over a year now. Can't
remember the exact page but look up automation on the Microsoft site.
The main things are you have to
I need to take a bunch of individual PowerPoint slides
(or images) and merge them into ONE PowerPoint presentation
ON THE SERVER then download this to the user. Microsoft
has clearly stated that PowerPoint (and all the Office
apps) are NOT intended to be used as server components.
Jason,
So, you're saying that your code, when you get to the final location, you
see the url in your browser's address bar as something like this?
http://www.mydomain/redirect.cfm?url=http://www.anotherdomain.com
I don't see that behavior here (IE 5.5) if I use cflocate in a redirection
I am looking for an application or company that has developed a
professional/enterprise level web based training application in CF. Any
suggestions.
Your help is appreciated.
Dave Clay
Trusjoist.com
__
Dedicated Windows
I am looking for an application or company that has developed
a professional/enterprise level web based training application
in CF. Any suggestions.
We've done that sort of thing. If you'd like to discuss it, contact me
directly.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Hi again,
I'm stuck again. Not sure I'm going about this in the right way.
I'm querying the following database which has a listing of over 2000+ fonts.
cfquery name=GetFontFamily datasource=fontstyles
SELECT sti, ID
FROMfontsti
ORDER BY sti
/cfquery
I
Hi everyone
I have 6 textarea boxes in the form page before the action page.
When I do a dataimport strait to the DB I have all the text, including
the carriage returns in between them. However, when I try to edit it
through the web application, the application cuts off the text.
Debugging
Steve Oliver [EMAIL PROTECTED] wrote in message
You could just make your own, it's just a iframe set to edit mode :)
http://www.insidedhtml.com/tips/contents/ts12/page1.asp
That's what I did, but I don't think it's usually the most cost-effective
solutions. Actually I assembled my own editor
[EMAIL PROTECTED] wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
Try using CFINSERT OR CFUPDATE
Other wise have your DBA create a stored procedure to divide the strings into
4k segements and update each segment seperately.
Won
PS CFUPDATE AND CFINSERT is slow
OK, I'm posting this for
All on the DB or not? What type of DB are you using?
Won
Webmaster [EMAIL PROTECTED] wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
I have two tables with identical fields. Now I want to extract the top
10 scores from both tables. I want to know how to query the two
tables, then
Yes, it is checked. Thanks for giving me something to try. Were you
getting similar errors?
Thanks,
Jamie
On Thu, 14 Feb 2002 17:56:30 -0500, Thomas Muck
[EMAIL PROTECTED] wrote:
Is maintain database connections checked for that datasource in the
administrator? I've found that when that box
I was getting occassional errors, which usually required that I restart the
CF server. When I have this box unchecked, the errors don't seem to occur.
tom
Jamie Jackson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Yes, it is checked. Thanks for giving me
Nevermind, I answered that myself.
Used the #Left(info,250)#...
Webmaster [EMAIL PROTECTED] wrote in message
3c6d8994$[EMAIL PROTECTED]">news:3c6d8994$[EMAIL PROTECTED]...
I have a database table that contains news headlines. I was wondering how
to
be able to take like the first 100 - 200
Is maintain database connections checked for that datasource in the
administrator? I've found that when that box is checked, I get intermittent
errors.
tom
Jamie Jackson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
My CF (OLEDB) connection to MSSQL is
Tyler Clendenin [EMAIL PROTECTED] wrote in message
i really like activedit from http://www.cfdev.com/
Yes, it's excellent, soEditor is also worth checking:
http://www.siteobjects.com/pages/index.cfm
Personally I just assembled a custom tag, you can see a demo here:
Douglas Brown [EMAIL PROTECTED] wrote in message
news:001c01c1b45e$8ef6d0b0
I know this is not the place for this, but I just have to ask this
question of the community. What is the benefit of developing a
commercial grade application and then giving that application away for
free? I see
Ok here is what I got, my website is designed as a tab website (tabs at the
top). I want one of the tabs to be used for my message board (which is in
PHP). When the user clicks on the message board tab, I want the PHP board to
load inside that page (so the tabs will still be on the top). So it
Hello all:
I am facing a task to complete the checkout component of a little
e-store. I want to ask you guys for some advice.
The whole e-store application is ready now - shopping cart, products,
coupons, etc. Now I need to add the checkout part, which includes credit
card entering screen,
I have a database table that contains news headlines. I was wondering how to
be able to take like the first 100 - 200 words of the news story and display
it in a introduction like section. What I want is that when people come to
the site, they see the latest headlines with the headline, the date
I finally started thinking about what I was really trying to do with this
USPS EMR label. I was looking the answer in the face. I send USPS an xml
request, retrieve an xml answer with the mailing label enclosed as a base64
encoded pdf format. So, extract the pdf string, tostring() to unpack it,
Oh dear I must have missed something.
I read your email but still do not understand exactly what you are trying
to
do.
Are you trying to loop through a query to identify the records that have
matching records in the text file?
Mike
-Original Message-
From: phumes1 [mailto:[EMAIL
try www.serebra.com
I'm not sure if they have (available to the outside world) exactly what you're looking
for, but I
know they use CF and they do a tonne of e-education.
Talk to Tony Brandnerhe should be able to answer your questions
HTH
Bryan Stevenson
VP Director of E-Commerce
Thank you
- Original Message -
From: Bryan Stevenson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 11:31 AM
Subject: Re: Web Based Training Applications
try www.serebra.com
I'm not sure if they have (available to the outside world) exactly what
A quick and dirty way is to pass a 'session.customerid' via your URL to the
SSL page. You lost your session vars when you crossed to the SSL server but
they are still over there waiting for you, if you only new the
session.customerid! :)
ie:
At 01:22 PM 2/21/2002 -0500, you wrote:
Oh dear I must have missed something.
No...I'm just not explaning it properly I guess.
I read your email but still do not understand exactly what you are trying
to
do.
Are you trying to loop through a query to identify the records that have
Hey All:
I need to encode an application for delivery, however I an having some
issues with the CFEncode.exe. I tried just calling the exe with the
recursive args, however when I try to specify an output folder, it
crashed (because the folder's don't exist).
I then went on and tried CF_RECURSE
We're moving about 50 sites designed to run on CF 4.01
on an older dedicated server (NT) to a new dedicated
server running CF 5.0 (Win 2K). I've read that several
functions have changed (layout of CFMAIL output,
CFLOCK attributes, etc). Is there one place that lists
all the changes that would
Um, I may have missed something, but can't you just reference the PDF as a
hyperlink and display it in the browser? Is it sotred in a database or just
a file on the server?
-Original Message-
From: Steven Salter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:47 AM
To:
Select channels.ChannelName, channels.ChannelID, RemoteNews.NewsID,
RemoteNews.InChannel
From Channels, RemoteNews
Where channels.ChannelID = RemoteNews.InChannel
- j
-Original Message-
From: Tony Hicks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 5:40 AM
To: CF-Talk
You can do this:
cfhttp url=myBoard.php method=GET resolveurl=false
/cfhttp
cfoutput#cfhttp.fileContent#/cfoutput
Just keep in mind that the output of the PHP page should consider the fact
that it is now placed inline in another document... so no HTML or body
etc.
- j
jim.curran
And can you click Back? to return to the result page?
btw - is it possible to change cflocation with a javascript equilevent?
- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 7:19 PM
Subject: Re: OT: clean
No, you send an XML request to USPS to retrieve a customized EMR label. The
label is returned in as an XML response that you have to extract, and either
write to a file or display onscreen to the customer. USPS programatically
creates the labels, they don't keep 'em for you.
I did solve my
For the blurb area try this...
First choose a character count for the words (fairly easy method, and since
you specify 100 - 200 words, I'll assume it's flexible)
Lets say 1000 chars
#left(body,find( ,body,1000))#
What this does is find the first space after char position 1000 and trims at
Does anyone have a contact # for a higher level CF person at intermedia.net?
Email me on or off list. Thanks!
-Cameron
Cameron Childress
elliptIQ Inc.
p.770.460.1035.232
f.770.460.0963
--
http://www.neighborware.com
America's Leading Community Network Software
The only problem with this is that it will cut it off in mid-word. So,
you can just loop from 1000 down to 1 and check for the end of a word/parag
raph, and when it is found, take that index to do the Left().
Jim Curran [EMAIL PROTECTED] 02/21/02 02:08PM
For the blurb area try this...
First
Thats incorrect... thats what the find( ,body,1000) does... It searches
for the first space after the 1000 Character.
- j
jim.curran
technical.director
nylon.technology
212.691.1134
[EMAIL PROTECTED]
-Original Message-
From: BEN MORRIS [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
At 9:25 AM 2/21/2, Dave Clay wrote:
I am looking for an application or company that has developed a
professional/enterprise level web based training application in CF.
I'm glad you already received some references, but I'd like to learn
more... are you looking at the server-side component for
Does anyone have any tricks that will not split up the results of a record
output when printing, but will instead be smart and know that if the
entire record won't fit on one page, to begin it on the next one? In my
particular situation, each record is fully contained (formatted) in its own
It looks like Verisign updated the tag on Tuesday - however now when you
click the link to download it - you get an error.
Did anyone happen to get the new tag? With the migration to Payflow,
all of my customers are timing out.
Shawnea
I know there must be a simple way to do thisI have a field (playername)
which contains firstname middlename lastname. I want to select by the
first letter of the lastname. I can do it with CF, or even JS, but can't
figure out how to write the SQL.ideas?
TIA!
D
I am not having any trouble with ym tag... Is it mandatory to update the
tag?
-Original Message-
From: Shawnea Carter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 3:28 PM
To: CF-Talk
Subject: CFX_CyberCash
It looks like Verisign updated the tag on Tuesday - however now
My tag (version 3.2) appears to be working fine also. Thought I remembered
getting an email that indicated that the ccps_host attribute of the tag
had to be set with an absolute URL as follows:
ccps_host=http://cr.cybercash.com/cgi-bin/;
and could not be set to the old IP address (can't
Are you using CFX_Cybercash or CFX_ONCR_Cybercash?
Verisign has been unable to figure out what is going on so my assumption was
something in the tag (especially when I saw a date change of Tuesday in the
Developer's exchange).
What date/time stamp do you have on your copy?
Shawnea
-
Thanh,
If you use a trigger that inserts new records into associated tables,
the @@IDENTITY won't work. Those new records defined in the trigger
will change the @@IDENTITY to an incorrect value.
t
**
Tyler M. Fitch
Certified
I spoke to verising today about issues I was having with their testing
gateway and they told me that there were unsure of when it would be back up
and that they would email once it was functioning. Outside of that
everything else seems to be working with my custom tages... However, we did
Got resolution with Verisign. They are STILL having DNS issues. grr.
They gave me a fix.
If anyone is having issues - contact me off list and I will give you a
number to call.
Shawnea
- Original Message -
From: Matt Kornguth [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent:
Verisign is having DNS issues? Yikes, they own Network Solutions so it
scares me to think that they can't get that right.
Kevin
[EMAIL PROTECTED] 02/21/02 01:06PM
Got resolution with Verisign. They are STILL having DNS issues. grr.
They gave me a fix.
If anyone is having issues -
sorry about the OT post..I need help with a select box. I am making 2 select
boxes (Month and Day). when the user changes the month, I want the javascript
to delete what is in the day select box and fill it with the number of days in
that month. I have the deleting part working. It just won't
I think you'd need to do:
selectCtrl.options[i].value = i+1;
selectCtrl.options[i].text = i+1;
instead of just:
selectCtrl.options[i] = i+1;
Brian Rosenstock
-Original Message-
From: Yager, Brian T Contractor/NCCIM
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 4:39 PM
I tried that and got this error...
selectCtrl.options[i] has no properties.
Brian Yager
President - North AL Cold Fusion Users Group
Sr. Systems Analyst
NCCIM/CIC
[EMAIL PROTECTED]
(256) 842-8342
-Original Message-
From: Brian Rosenstock [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
cfset playername = firstname middlename lastname
cfoutput
#ListLen(playername , #chr(32)# )#
br
#listgetat(playername, #ListLen(playername , #chr(32)# )# , #chr(32)#
)#
br
#Left(#listgetat(playername, #ListLen(playername , #chr(32)# )# ,
#chr(32)# )# , 1)#
/cfoutput
Good luck,
Alexander
I have several Verity Collections on one CF server.
All are working fine execpt one. When ever I try and do anything (Repair,
Optimize, Purge or Delete) with this collection I get the following error:
I have started and stopped the server several time and still get this error.
When I try and
Use subString
SELECT substring(lastName,1,1) FROM yourTable
There are two major products that come out of Berkeley: LSD and [Unix]
BSD. We don't believe this to be a coincidence.
Doug Brown
- Original Message -
From: Diana Nichols [EMAIL PROTECTED]
To: CF-Talk [EMAIL
This article might help you out.
Courtesy of Fusion Authority earlier today...
ColdFusion Server 4.5.x and 5: The cfstoredproc Tag Does Not Support the
CLOB Data Type
When using the CFSTOREDPROC tag to run an Oracle stored procedure that
accesses a CLOB column data type, an error occurs because
Yeah, we've done a HTML-based reporting thing here that counted the
number of lines in a report and inserted a footer then a new header each
time the line limit was met. We used CSS to force page breaks and ensure
line height consistency. There's also a table trick with two rows
(bottom being the
Does anyone know how to parse the day out of a given date in javascript.
I want to do the equivalent of datepart(d, thisDate).
form name=sessionWatch
cflock scope=SESSION timeout=3 type=READONLY
cfoutputinput type=hidden name=seshTimeOut
value=#session.timeout#/cfoutput
/cflock
/form
Refer to the msdn dhtml reference library.. There are a number of
functions that enable you to add options to select boxes. For instance,
this works in IE..
oElement = document.createElement(OPTION);
document.all.selectboxname.children(0).insertAdjacentElement(BeforeBegi
Has anybody on the list used this product? What are your opinions? Can
it handle a big load (800-1200 sheets of paper) at once? Any information
is appreciated.
Just my thoughts -
I think I'm not alone in saying that one of the biggest missing pieces
of
ColdFusion is a practical printing
Oops didn't see the 'sql' flag
select substring( reverse(playername) , (charindex(char(32),
reverse(playername))-1) , 1 ) as lastletter
from playername
Tested in mssql7
Good luck,
alex
|-Original Message-
|From: Sicular, Alexander [mailto:[EMAIL PROTECTED]]
|Sent: Thursday,
http://www.mattkruse.com/javascript/date/
jon
- Original Message -
From: Ray Bujarski [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 5:15 PM
Subject: OT Javascript: Date Parsing
Does anyone know how to parse the day out of a given date in javascript.
Can someone help me out here. I have a cvs file being uploaded
and am having trouble with one of the fields. It a field that *can* contain
comments and therefore have a comma in it. I'm dumping it into the database and
everything is hunky dorie until a comma is put in the comment field. I notice
I finally figured it out. I had the name of one of the
fields from the form set wrong...but all your comments
helped also. Thanks!!
-Jake
--- Steve Oliver [EMAIL PROTECTED] wrote:
Ah good point, I bet that's the problem.
Rename date, and get rid of the quotes around your
integers, and
May I suggest a slightly different way to do this? I hope I'm not taking the
fun out of this, but I've done this one before, and it's easier to just post
the code :) Gotta love those snippets.
function IsLeapYear(Year) {
if(Math.round(Year/4) == Year/4){
if(Math.round(Year/100) == Year/100){
*begin
script language=javascript
function makeDayList(month){
var now = new Date();
//need the month-1 because january=0 in javascript
var daysInMonth = 32 - new Date(now.getYear(), month-1, 32).getDate();
//main stumbling block
document.monthDay.day.options.length = daysInMonth;
Add:
var dayOfMotnhJS = ses.getDate(document.sessionWatch.seshTimeOut.value);
Good luck,
Alexander Sicular
Chief Technology Architect
Neurological Institute of New York
Columbia University
as867 [at] columbia {dot} edu
|-Original Message-
|From: Ray Bujarski [mailto:[EMAIL
I think you might have to use a regex on it first.
Find everything between first, and replace the comma's with
something else, maybe a period or something.
I'll look around and see if I can find a better way to do it.
_
steve oliver
senior internet developer
atnet
www.anabaptist.com
-Original Message-
From: Tony Hicks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 6:57 AM
To: CF-Talk
Subject: OT
Any y'all got Christian sites written in CF?
Thanks,
Tony Hicks
--
Search the Holy Bible: http://www.bibleclicks.com
1 - 100 of 121 matches
Mail list logo