This didn’t work either:

<script type="text/_javascript_" language="_javascript_">

// <![CDATA[

function testMe(){

            document.write("This is working!");

}

testMe();

// ]]>

</script>

 

Bah!

 

Ron Mast

Truth Hardware

Webmaster

507-444-4748


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, October 23, 2006 9:56 AM
To: [EMAIL PROTECTED]
Subject: RE: [DFW CFUG] _javascript_ guru...help.

 

Ron - Have you tried wrapping the _javascript_ in CDATA?

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Mast
Sent: Monday, October 23, 2006 9:46 AM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: RE: [DFW CFUG] _javascript_ guru...help.

Grrrrrrr…….ok, yes it works on its own which tells me it’s not my browser setting. Thanks for validating that for me Chris…J

 

I’m using ajax…and the template being called by ajax is suppose to run this code and it’s not…hmmmmm…mucho interasante…scratch scratch.

 

Ron Mast

Truth Hardware

Webmaster

507-444-4748


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Jordan
Sent: Monday, October 23, 2006 8:55 AM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: Re: [DFW CFUG] _javascript_ guru...help.

 

Ron,

I just realized that my test wasn't exactly perfect since I saved mine as a .htm file. So I re-saved it as ron.cfm and ran it though my ColdFusion server. It still worked flawlessly.

Chris

Dave Shuck wrote:

Ron, what are you using to call the function?

On 10/20/06, Ron Mast <[EMAIL PROTECTED]> wrote:

Having trouble running a function on a cf template...looks like this:

<script language="_javascript_">
function testMe(){
        alert("It works!");
}
testMe();
</script>

That's all I have on the cf template as far as code.

Something easy I'm sure, can someone tell me why testMe() isn't
activating?

Thanks in advance!

Ron

_______________________
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed.  If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.


_______________________________________________
Reply to DFWCFUG:
  [email protected]
Subscribe/Unsubscribe:
   http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
   http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
  www.HostMySite.com
  www.teksystems.com/




--
~Dave Shuck
[EMAIL PROTECTED]
www.daveshuck.com

Where's your Spot?
www.instantspot.com

 
 
 


 
 
 
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/
  

_______________________________

This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed.  If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.

_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to