hi friends
i have a problem in previewing image in mozilla browser.I will give the code.
script code
<script type="text/javascript">
function loading(img)
{
document.getElementById('disp').src=img;
}
</script>
jsp page code
<html:file property="productImage" value="${product.productImage}" styleClass="sni_input" onchange="loading(this.value)"/>
<img src="" id="disp">
only few codes are written.I think you can understand this.
This will work in IE.When i click the browse button and selected a particular image it will be shown below to that browse button.But in Mozilla it wont showing .. please help me
thanks in advance