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>
Made as JS
function Getdetails(Val1 , Val2) {If (Val2 == Val1){return true;} else {return false;}}