...

View Full Version : update variable with ajax



esthera
03-01-2009, 04: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, 11:50 PM
set the variable?

myVar = yourXMLHttp.responseText.

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum