Hello all.
I have a project that requires me to call JavaScript functions from code-behind. I can do that but was wondering if there is a cleaner way? In addition, is it possible to pass arguments to existing JavaScript (ie. JQuery) ?
Posted code works but there must be a better way?. I'm not a huge fan and have rarely used javascript so any input would greatly appreciated. I've been to many, many sites via google and msdn without much luck. There is alot of outdated code out there in this regard. If you have simple example or a good current link that would be super.
Here is a working example. Thanks a million, Dave
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
callJavaScript()
End Sub
Sub callJavaScript()
Dim str As New StringBui ...
Go to the complete details ...