On Wed, 2006-01-25 at 04:53 -0800, Debabrata Pati wrote: > hi > > This is a javascript function which changes images when i upload a image. > But it does not change image in netscape browsers. > > function DoPreview(filef,imagename) > { > imagename.src =filef.value; > if (navigator.appName == "Netscape") > { > alert("Previews can not be shown in this browser type."); > > } > } > > where filef= upload field name > > imagename= image's name > > > Pls help some way to overcome this. > > Thanks > > Debabrata. What happens if you remove the if clause? if (navigator.appName == "Netscape") > { > alert("Previews can not be shown in this browser type."); > > } -- cheers, Mark PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/