PDA

View Full Version : VB Script in Javascript



padders01
12-01-2015, 02:48 PM
Hi,

I have some VB Script that works fine on a VB page but when I try to make it work on Javascript page it doesn't work. I have tried to wrap the code in VB tags but doesn't work. I need to keep the page coded in Javascript. The webpage is written in .asp

Code



<%
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "filename=excelfile.xls"
%>

Thanks

padders01
12-02-2015, 11:37 AM
I have a different solution for this, can this thread be closed please