Here's stupid HTML question!

  • Thread starter Thread starter Lars Netzel
  • Start date Start date
L

Lars Netzel

Can't I have TABLE insida an <a> element?

I need a clickable Table.. my webcustomcontrol is a table and I need to be
able to click the whole thing...

/Lars
 
You can use the onclick="yourasppage.asp"

ex:

<table onclick="thispage.asp">
</table>

I have never tried it but it might work.
 
yes it worked... quite doubtful to use as a Click Event in a Control
though... since people might want to add attribute onclick in runtime... but
oh well..

Thanx
/Lars
 
Back
Top