java script refresh page after getting value from excel
<p>i have this code in javascript</p>

<pre><code>                a= Excel.Workbooks.open("C:/work/ind12.xls").ActiveSheet.Cells.find("value");
                if(a == null)
                document.getElementById('dateValid').innerText = "Date not Valid";
                Excel.close();
</code></pre>

<p>its just connecting with my excel sheet and finding some value,  it works perfectly fine But as as its done it refresh my page and all the values in text boxes and other just lost . is there any way to stop refreshing the page or retain my values </p>

<p>Thanks </p>
