- - Code, Content, and Presentation
- ---- inserting a variable into a function
sssweb - 1:55 pm on Dec 4, 2012 (gmt 0)
Thanks, that works too -- is there a reason it's preferable to eval()?
P.S. Still looking for a solution to getting external js files to read functions defined in <script> tags on my HTML page.
Brought to you by WebmasterWorld: http://www.webmasterworld.com