pkbajpei
09-24-2002, 08:28 PM
Hi
I'm new to javascript and all scripting languages. Can anyone help me in converting the below Code from VBScript to Javascript.
<%
Dim mystring
mystring = Request.ServerVariables("HTTP_USER_AGENT")
If inStr(mystring, "IE") then
%>
<!-- #include file="SmartViewerActiveX.asp" -->
<%
else
%>
<!-- #include file="ActiveXPluginViewer.asp"-->
<%
end if
%>
Would appreciate any help.
Pranav
I'm new to javascript and all scripting languages. Can anyone help me in converting the below Code from VBScript to Javascript.
<%
Dim mystring
mystring = Request.ServerVariables("HTTP_USER_AGENT")
If inStr(mystring, "IE") then
%>
<!-- #include file="SmartViewerActiveX.asp" -->
<%
else
%>
<!-- #include file="ActiveXPluginViewer.asp"-->
<%
end if
%>
Would appreciate any help.
Pranav