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
|
 |
 |
materix
Posts: 161
|
| Posted: 05/09/2009, 9:52 AM |
|
what is the href-value in the link?
|
 |
 |
har
Posts: 9
|
| Posted: 05/09/2009, 12:19 PM |
|
href="?revertTexttemplate=22"
|
 |
 |
materix
Posts: 161
|
| Posted: 05/09/2009, 5:39 PM |
|
try setting it to href="#"
|
 |
 |
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 |
 |
 |
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 "#"?
|
 |
 |
apata
Posts: 7
|
| Posted: 05/11/2009, 10:14 AM |
|
www
|
 |
 |