wancherng
March 26th, 2003, 08:27 AM
i have a button and an image in my asp.
when i load the asp for the FIRST TIME, i want the image to be invisible.
and when i click on the button, i want the image appears and the refreshes every minute.
B'coz i need the image to perform a live trending(plot graph) and the data to plot the graph is updated the every minute.
i have no problem with the database but how can i set the image to refresh every minute?
i have tried using <meta http-equiv="refresh" content="60"> and it refreshes the whole page.
it is ok, but when the page is refreshed, the image is invisible again, means the page have gone back to FIRST TIME.
that is not what i want.
i want it to perform like this:
when the page refreshes, the image remains visible and updates the graph according to the database.
so, how can i do this??
sorry for ask question like this but i a beginner and really can't solve this.
pls help. thanx in advance!!
when i load the asp for the FIRST TIME, i want the image to be invisible.
and when i click on the button, i want the image appears and the refreshes every minute.
B'coz i need the image to perform a live trending(plot graph) and the data to plot the graph is updated the every minute.
i have no problem with the database but how can i set the image to refresh every minute?
i have tried using <meta http-equiv="refresh" content="60"> and it refreshes the whole page.
it is ok, but when the page is refreshed, the image is invisible again, means the page have gone back to FIRST TIME.
that is not what i want.
i want it to perform like this:
when the page refreshes, the image remains visible and updates the graph according to the database.
so, how can i do this??
sorry for ask question like this but i a beginner and really can't solve this.
pls help. thanx in advance!!