CodingForums.com
>
:: Client side development
>
JavaScript programming
>
Ajax and Design
> update variable with ajax
PDA
View Full Version :
update variable with ajax
esthera
03-01-2009, 03:54 PM
I know how to update a div every second using ajax to pull from the server but how can I update a variable (not a div )every second to pull the latest from the server?
A1ien51
03-01-2009, 10:50 PM
set the variable?
myVar = yourXMLHttp.responseText.
Eric
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.