Karthik Kumar

Karthik Kumar

  • 1.6k
  • 323
  • 107.2k

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"
Getdetails= "False"
End If
End Function

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (2)