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
Function Getdetails(Val1 , Val2)
Dim blnGetdetails
blnGetdetails = ((Val1 or Val2) = Val1)
If blnGetdetails = true Then
Getdetails= "True"
Else
Getdetails= "False"
End If
End Function

Jaish MathewsRank #225 · 11K reputationPosted Aug 28, 2019, 7:26 AM EDT
Sujeet RamanRank #1,329 · 1.3K reputationPosted Aug 28, 2019, 6:24 PM EDT