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

Re: Text file i/o....

At 01:50 PM 2/19/96 -0500, you wrote:
>Does anyone know if it is possible to write a JS function which reads from
>a server side text file? Or would this go against the security restraints
>which JS inforces so tightly?

JavaScript lacks an input stream capability. If I understand what you are
trying to do, an alterntive is to put information you want to pass from the
server in a hidden form field.  JavaScript can read that, and the user
doesn't see it.

-- Gordon

This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.