Can js talk to Excel or jpegs?

M

M.L.

Hi. I would like to use Javascript to load specific database entries
into an HTML template. Is it possible, for example, for Javascript to
read entries of an Excel file and use specific cell data values to
populate specific areas of an HTML template? If not Excel, would it be
possible for js to read the IPTC info of a jpeg file and use those
variables to populate an HTML template? Thanks for any advice on this
issue.
 
H

Hal Rosser

M.L. said:
Hi. I would like to use Javascript to load specific database entries
into an HTML template. Is it possible, for example, for Javascript to
read entries of an Excel file and use specific cell data values to
populate specific areas of an HTML template? If not Excel, would it be
possible for js to read the IPTC info of a jpeg file and use those
variables to populate an HTML template? Thanks for any advice on this
issue.

No - not client-side javascript.
If you're using javascript in ASP, then yes - (server-side)
 
K

kaeli

Hi. I would like to use Javascript to load specific database entries
into an HTML template. Is it possible, for example, for Javascript to
read entries of an Excel file and use specific cell data values to
populate specific areas of an HTML template? If not Excel, would it be
possible for js to read the IPTC info of a jpeg file and use those
variables to populate an HTML template? Thanks for any advice on this
issue.

Client-side interaction with Excel? Yes, but only with MSIE (see
WSH/ActiveX). And I believe it needs to run with special permissions (see
HTA).
I don't know of any way to interact with jpgs with javascript, but that's not
to say there isn't a way using the windows API (again, HTA/WSH). Java can
(applet).

Note:
HTA = Hypertext Application
WSH = Windows Script Host

--
--
~kaeli~
The Bible contains six admonishments to homosexuals and
three hundred sixty-two admonishments to heterosexuals.
That doesn't mean that God doesn't love heterosexuals. It's
just that they need more supervision.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
 
H

Hal Rosser

Client-side interaction with Excel? Yes, but only with MSIE (see
WSH/ActiveX). And I believe it needs to run with special permissions (see
HTA).
I don't know of any way to interact with jpgs with javascript, but that's not
to say there isn't a way using the windows API (again, HTA/WSH). Java can
(applet).
***** applet must also have 'special permissions' (ie: signed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top