File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Grabbing information from .xls with javascripts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Grabbing information from .xls with javascripts" Watch "Grabbing information from .xls with javascripts" New topic
Author

Grabbing information from .xls with javascripts

Wilson Mui
Ranch Hand

Joined: Apr 09, 2003
Posts: 140
Does anybody know if there is a good way to grab information from an xls sheet with javascripts. Or in general if there is a good way to grab information so that I can create one of those windows on a webpage that has changing text. Like on Msnbc.com or something.
I can't do server-side code, because I am not running a real webserver to do this. So I would imagine my options are greatly limited.
But if somebody wants to give me a headsup in terms of how a website like msnbc.com does those internal windows (not the pop-ups) that have changing information depending on where you click (like population of US States) I would appreciate that as well.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Server side code would make this easier!
JavaScript can not read anything really other then a js file. There are tricks you can use to load the page into a hidden frame and read the innerHTML and rip it apart, but that is not efficient.
You might want to look at JavaSciprt with XML
http://www.sitepoint.com/article/1268
Eric
Gjorgi Var
Ranch Hand

Joined: Feb 24, 2004
Posts: 85
I hope you ment ".xsl" when you mentioned "xls" stylesheets... If you have access to the creation of the xsl you could arrange it to write html code for you, if html is what you want... more details would be welcomed...
 
 
subject: Grabbing information from .xls with javascripts
 
Threads others viewed
NIC ADDRESS
starting Javascript
Using Java with a web application without an API
Locating Microsoft Excel executable
Opening an Excel file
IntelliJ Java IDE