QAds
Apple iPod shuffle 1 GB Gumus
$35.00
Apple iPad 64gb Wi-Fi 3G
$0.78
Sony VAIO VPC-CW21FX/W Laptop
$618.74
Sony Ericsson T715 Slider 3G Phone in Rouge Pink
$149.96
:: HOME JavaScript Read a Excel file through javascript
 
Read a Excel file through javascript
Read a Excel file through JavaScript and display it in form HTML cols ans rows
Look for GetObject or ActiveXObject for JavaScript.

ActiveXObject example :


var handle= new ActiveXObject("Excel.Application");
var handle_file = handle.Workbooks.Open("excelfile.xls");
var handle_sheet = handle.Worksheets("SheetName");
data = handle_sheet.Cells(1,1).Value;

GetObject Example :

var handle= GetObject("excelfile.xls", "Excel.Application");
var handle_sheet= handle.Workbooks("SheetName");
data = handle_sheet.Cells(1,1).Value;

You should define excel file location exactly same as it locates on server