There are two javascript function .
the second method would call the first function passing two parameter.
in load_wood_excel function i am not able to access the parameter..
can any ony tel me how to pass interger , and also how to access the parameter in function????????
function load_wood_excel(row,column){
alert(row);
alert(column);
var Excel;
Excel = new ActiveXObject("Excel.Application");
Excel.Visible = false;
alert("pooran");
return Excel.Workbooks.Open("C:/Users/chandrpo/Desktop/othla/OPJ/ram.xls").ActiveSheet.Cells('row','column').Value;
}
function iterateExcel(){
var row = 2;
var column = 1;
var someArray = new Array();
do
{
item = load_wood_excel();
if(item !=null){
var i = 0;
someArray[0]= item;
i++;
row++;
}
item1 = load_wood_excel(2,1);
}while (item != null || item1 != null);
}