[Javascript] looped var

Cutter (JSRelated) java.script at cutterscrossing.com
Thu Apr 20 12:08:17 CDT 2006


Thank you all for your assistance. I have forwarded your collective 
responses on to the other list (CFTalk from HouseOfFusion.com) Once 
again you all remind me I've stayed subscribed to this list for the last 
5+ years. Ya'll are great.

Cutter
http://blog.cutterscrossing.com

Steve Clay wrote:
> Thursday, April 20, 2006, 10:39:10 AM, Mckinney, Lori K wrote:
> 
>>objA.onclick = new Function ("alert(" + intI + ")" );
> 
> 
> This should work, but from what I understand new Function (like eval) must
> be compiled on the spot, so there's a (however slight) performance hit.
> http://userjs.org/help/tutorials/efficient-code
> 
> Steve



More information about the Javascript mailing list