mike2
|
Posted: 02/16/2005, 4:11 AM |
|
hello,
does somebody know, to add an onclick event to an anchor html control..in the ccs properties window is only a before show event!!
thanks
mike
|
|
|
E43509
Posts: 283
|
Posted: 03/01/2005, 10:28 PM |
|
I haven't done this to an anchor tag but if you are trying to add some javascript to other controls in CCS you have to do it programmatically and not thru the extended HMTL properties
You need to do something like:
myctl.Attributes("onclick") = "alert('hello');"
Check the code in the aspx file and verify that the anchor tag has a runat="server"; then you can do the attributes command.
|
|
|
|