JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2061
Number of posts: 5164

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to make a javascript function that execute a file? Posted by rongcon on 17 Aug 2001 at 1:52 PM

Hello Everyone, I would like to creat a javascript function, that call and execute that file

function myfunction()
{
I don't know what to put
}

<body onfocus="myfunction()")>

Please help me, I am really, really a beginner.

Many thanks in advance.


Report
Re: How to make a javascript function that execute a file? Posted by Matt(AA)1 on 23 Aug 2001 at 5:25 PM
JavaScript is not allowed to execute a file, as it would be a severe security hazard for browser users.

Sorry,
Matt(AA)

:
: Hello Everyone, I would like to creat a javascript function, that call and execute that file
:
: function myfunction()
: {
: I don't know what to put
: }
:
: <body onfocus="myfunction()")>
:
: Please help me, I am really, really a beginner.
:
: Many thanks in advance.
:
:





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.