0

i have a bunch of code in vbscrpt.I need to work this in both IE and Chrome.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>
Sowrabh
  • 21
  • 1
  • 4

1 Answers1

-1

Made as JS

function Getdetails(Val1 , Val2) { If (Val2 == Val1){ return true; } else { return false; } }

Alex Marin
  • 174
  • 1
  • 6