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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top