yeah, you sure can. I have a timer that I have CF stuff in and it works
fine..
<html>
<head>
<script>
<cfoutput>
var dateString = ("#dateFormat(now(),"MM/DD/YYYY")#
#timeFormat(now(),"hh:mm:ss")#");
var i = #timeFormat(now(),"ss")#;
</cfoutput>
function updateClock(){
var DateVariable = new Date(dateString);
DateVariable.setSeconds(i);
document.getElementById("clock").innerHTML = (DateVariable);
i += 1;
timer();
}
function firstLoad(){
timer();
updateClock();
}
function timer(){
setTimeout('updateClock()',1000);
}
</script>
<title>Right Frame</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="5" onLoad="return updateClock()">
<form name="mainForm">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td bgcolor="7cb5d6" height="24" valign="top"MuzicSource Management
Console V 1.0</td>
<td align="right" bgcolor="7cb5d6" valign="top"><span
name="SHOW_PRICE_TOP" id="clock"></span></td>
</tr>
</table>
</form>
</body>
</html>
----- Original Message -----
From: "David S. Neuman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Friday, September 15, 2006 2:58 PM
Subject: CF and JavaScript
> Hello,
>
>
>
> I have a question. Can you use cf tags inside of JavaScript?
>
>
>
> I'm trying to do something and it's not working quite right.
>
>
>
> Thanks
> --------------------------------------------------------
>
>
> David S. Neuman
> Developer
> 2081 Industrial Blvd
> StillwaterMN55082
> mail: [EMAIL PROTECTED]
> www: http://www.ejhassociates.com
> tel: 651.717.4106
> fax: 651.717.4116
> mob: 952.239.3990
>
> --------------------------------------------------------
>
> This message contains confidential information and is intended only for
[EMAIL PROTECTED] If you are not [email protected] you
should not disseminate, distribute or copy this e-mail. Please notify
[EMAIL PROTECTED] immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
or contain viruses. David S. Neuman therefore does not accept liability for
any errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.
> --------------------------------------------------------
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253319
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4