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