CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 JS onlick event in imagelink

Print topic Send  topic

Author Message
har

Posts: 9
Posted: 05/08/2009, 5:22 AM

Hi all,

I have a Problem: I need an onclick event in an dynamic imagelink, but from CCS there is no support for the Client.OnClick so I simply placed the onclick="" inside the <a> html tag of the link... but it doesnīt work!

<!-- BEGIN ImageLink revertButton -->  
  <a href="{revertButton}" onclick="return confirmRevert()"><img src="images/icon_revert.gif"></a>  
<!-- END ImageLink revertButton -->

Note: The imagelinks property 'Visible' is 'Dynamic' !!!
Is the 'Dynamic' the problem?

Like described itīs not working... Is there no solution to fix it?

Thx for any ideas,
har
View profile  Send private message
materix

Posts: 161
Posted: 05/09/2009, 9:52 AM

what is the href-value in the link?

View profile  Send private message
har

Posts: 9
Posted: 05/09/2009, 12:19 PM

href="?revertTexttemplate=22"
View profile  Send private message
materix

Posts: 161
Posted: 05/09/2009, 5:39 PM

try setting it to href="#"
View profile  Send private message
jjrjr1


Posts: 942
Posted: 05/10/2009, 6:29 PM

Try changing onclick="return confirmRevert()"

to onclick="confirmRevert();"


_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
View profile  Send private message
har

Posts: 9
Posted: 05/10/2009, 7:26 PM

Hi, thx a lot!

The href="#" has done it.
But the "#" causes some other small problems, but itīs working now!

Can anyone tell my the exact cause, why it doesnīt work without the "#"?
View profile  Send private message
apata

Posts: 7
Posted: 05/11/2009, 10:14 AM

www
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.

Web Database

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.