Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] looped var


  • From: java.script at cutterscrossing.com (Cutter (JSRelated))
  • Subject: [Javascript] looped var
  • Date: Thu Apr 20 12:10:27 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