Hi ,

I want to change one image in my web site dynamically after 5 sec using
ajax. I m using rico for this.
The problem is that , the image name should be constructed dynamically( in
javascript).
So my ajax response xml file should look like

<ajax-response>
<response type="element" id="myImage">
        <td width="275" rowspan="3" align="left" valign="top">
<a href="#">
<script>document.write('<img src="'+imageName1+'" width="275"
height="206">');
</script>
</a>
</td>
</response>
</ajax-response>

. But the value of image name (i.e. imageName1) is not getting replace by
its actually value in my html file.
Am I doing any thing wrong??? Any suggestion??

Regards,
Nisha




******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to