 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
sammy.jankins Smarty n00b
Joined: 09 Apr 2010 Posts: 3
|
Posted: Mon Apr 19, 2010 12:47 pm Post subject: Call javascript function |
|
|
Hi to all,
I have a function write in javascript inside my template.tplm
| Code: |
function write(FileName) {ldelim}
var fso = new ActiveXObject("Scripting.FileSystemObject");
var s = fso.CreateTextFile("C:\\_temp\\" + FileName, true);
//s.WriteLine('Hello');
s.Close();
{rdelim}
</script> |
I try to call this function from smarty, but without success. |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|