javascript to call webmethods
Well, this is the scenario. I am creating a "person" tracker using google maps and I need to update the location of the "person" in the map without refreshing the page.
The person has a handheld device that sends periodic gps locations via a web service that gets saved in a database. The first time the page is loaded, it shows the right location. I have a webmethod ready that can send back the updated location.
I am using VS2008 with ASP.Net AJAX 3.5 (with SP1 I think). I have a timer which ticks every 30 seconds. once the timer ticks, i want a something from the front-end to connect to the webmethod and gather the new location and update the map. I know how to update the map without reloading it. I just want to get the data from the webmethod from the fornt-end.
I hope I a was clear enough with that.
Re: javascript to call webmethods
Re: javascript to call webmethods
You might also want to take a look at this article here as well:
http://dotnetslackers.com/articles/a...s-using-jquery
Hope that helps!
Gary