Please, how can I call to a JavaScript function that is in .js file from .vb file?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please, how can I call to a JavaScript function that is in .js file from .vb file

thanks
Javi
 
Hi Javi,
Please, how can I call to a JavaScript function that is in .js file from
..vb file?

As I understand you well, than this can be the answer?

Cor

\\\
Private Sub Page_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Dim str As String = "<script language " & _
"=javascript>alert('I hope this helps a little bit?');</script>"
Page.RegisterStartupScript("Startup", str)
End Sub
///



Cor
 
Back
Top