Problem in <Img> tag in Netscape & FireFox
Hi,
I am facing the following problem for a week.
It is a very difficult problem.
I have 5 image tag and a "Change Picture" button in my .ASP page.
When i click "Change Picture" button my application will go to the ASP.Net page. In that page i am using the following code
ASP page coding
----------------
<img name="img1" src ="C:\windows\1.gif">
ASP.Net page coding
----------------------
window.opener.document.forms[1].elements['img1'].src = "c:\Windows\a.gif"
This code is working in IE but not in Firefox and Netscape.
But i can access the textbox, select option, etc.,(other tags ) in ASP.Net page. Is there any other specific method to access the image tag in in .Net page. Plz help me.,
Thanks in advance.,
SK
Re: Problem in <Img> tag in Netscape & FireFox
Code:
<IMG id="Image1" src="c:\woof.gif" runat="server">
Then in the VB code behind you can do:
VB Code:
Image1.Scr = "C:\growlingFish.jpg"
Hope that helps.
Woka