Struggling to access a Javascript function from my code behind file. It's necessary as I'm integrating the GoogleMaps JS API to drop markers on a map based on data fetched from the database. The AddMarker function is there, which requires an address parameter. How can I invoke this function from the page_load function in the code behind?
Basically, how do I trigger this javascript function to show an alert with a string passed from the code behind?:
function hello(message)
{
alert(message);
}
Thank you for your help!
P.S Either vb or c# will do :)