J
Jeronimo Bertran
Hi,
I have a page that includes an image that uses an image map. When the
user clicks on a button, the image needs to be refreshed and the map needs
to be updated without refreshing the entire form.
<img id="mapimage" src="renderimage.aspx?param=1" usemap="#mappoints">
<map name ="mappoints>
<area......>
</map>
when the user clicks a button, I am calling the following script code:
var url = "renderimage.aspx?param=" + SelectedParam;
document.MyForm.mapimage.src = url;
Now, when the rederimage.aspx page renders the image based on the param, it
determines the areas for the map. I am currently saving the area
information on the Session state when the image is rendered.... however I
can't seem to be able to update the map using that information.
I know that area elements can be added or removed from the areas collection
in a map... but I don't understand how I can use the information obtained
from refreshing the renderimage.aspx...
Thanks!!
Jeronimo
I have a page that includes an image that uses an image map. When the
user clicks on a button, the image needs to be refreshed and the map needs
to be updated without refreshing the entire form.
<img id="mapimage" src="renderimage.aspx?param=1" usemap="#mappoints">
<map name ="mappoints>
<area......>
</map>
when the user clicks a button, I am calling the following script code:
var url = "renderimage.aspx?param=" + SelectedParam;
document.MyForm.mapimage.src = url;
Now, when the rederimage.aspx page renders the image based on the param, it
determines the areas for the map. I am currently saving the area
information on the Session state when the image is rendered.... however I
can't seem to be able to update the map using that information.
I know that area elements can be added or removed from the areas collection
in a map... but I don't understand how I can use the information obtained
from refreshing the renderimage.aspx...
Thanks!!
Jeronimo