CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 javascript not working with image links

Print topic Send  topic

Author Message
wyo

Posts: 3
Posted: 07/31/2004, 4:00 PM

I am unable to get javascript to execute on image links.

I have this in the html file:

<a onmouseover="alert('here')" href="{Continue_Link}"><img src="{Continue_Link_Src}" onmouseover="alert('here')" border="0"></a>

trying both the image and the link.

The source from the web page is as follows:

<a id="Continue_Link" href="Home.aspx?"><img src="Images/Continue_A.jpg" border="0" />

The following (a plain link):

<a onmouseover="alert('here')" href="{Link1_Src}">{Link1}</a>

Will generate this in the source and works:

<a href="Home.aspx?" id="Link1" onmouseover="alert('here')">Home</a>

If anyone has any ideas or suggestions, I would appreciate hearing from you.

Thanks
View profile  Send private message
E43509

Posts: 283
Posted: 08/01/2004, 9:48 AM

In .net you don't edit the html file, you need to do it in code (or alter the aspx file itself). The best way is to google how to add javascript to a .net object and do it in a before show event. If you touch the aspx file, it won't regenerate anymore.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.