Author: Anjana Bhat | Posted on: 10/22/2008 9:44:57 PM | Views : 257

Hi,

 i have a list of html radio button group in which if i select one,a text box and an image is loaded .This i have done thro. javascript.but in the same page im uploading another image.that image is displayed on a button click.so the page refreshes and the first image disappears.To retain this i again wrote a javascript on the same button click which tests the checked radio button and loads the text box and image again.The javascript function is working fine but the image disappears after the server side function execution.I changed the call from onclick to onblur of the button.But same result.can any one help me on this issue?
 
This is the function i have written for retaining the image
 function preview2_retain()
{
    var i;
    for(i=0; i < document.getElementsByName("rbnationalfranchise").length; i++)
    {
      &nbs ...

Go to the complete details ...