Sivaraj Velayudham

Sivaraj Velayudham

  • 1.6k
  • 400
  • 120.6k

My VBScript is not working in Chrome but works in IE

Aug 28 2019 8:57 AM
i have a bunch of code in vbscrpt.I need to work this in both IE and Chrome.I have less knwoledge in VB.How can i make this function work in Chrome as well as IE
 
<msxsl:script language="VBScript" implements-prefix="mydetails">
Function Getdetails(Val1 , Val2)
Dim blnGetdetails
blnGetdetails = ((Val1 or Val2) = Val1)
If blnGetdetails = true Then
Getdetails= "True"
Else
Getdetails= "False"
End If
End Function
</msxsl:script>

Answers (2)