我已经搜索了,但是找不到解决方案。我需要将变量传递到模态窗口中iframe中的php脚本中。我发现这段代码可以很好地显示变量,但是如何将其添加到iframe中的php脚本中呢?甚至有可能吗?
Public Function xlate(s As String) As String
Dim L As Long, i As Long, j As Long
Dim ch As String
letters = Array("A", "G", "N", "L", "E", "F", "K", "U", "R", "T")
numbers = Array("3", "4", "6", "2", "5", "7", "1", "8", "9", "0")
L = Len(s)
For i = 1 To L
ch = Mid(s, i, 1)
For j = 0 To 9
If ch = letters(j) Then xlate = xlate & numbers(j)
Next j
Next i
End Function