All Forums >> [Scripting] >> ASP >> Passing array btween VBScript and javascript Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
I have an ASP page that should display placemarks stored in my sql database as a set of (latitude,longitude) Is it possible to pass an array between VBScript and javascript, because I only know how to invoke google map API from javascript. I then need to pass my set of points as a parameters to a javacript function that I would call from vbscript.
Something like:
<%@ Page Language="VB"%> <script runat="server"> ' Select placement from database to an array showplacemark(???????)
</script>
<html> <head> <script language="javascript" runat="server"> function showplacemark(???????) { for (???????) { var point = new GLatLng(?,?); map.addOverlay(new GMarker(point)); }