Making a Table Row clickable

前端 未结 14 1067
悲&欢浪女
悲&欢浪女 2020-12-24 12:49

I wonder what the best way to make an entire tr clickable would be?

The most common (and only?) solution seems to be using JavaScript, by using onclick=\"javascript:

14条回答
  •  孤城傲影
    2020-12-24 13:18

    Fortunately or unfortunately, most modern browsers do not let you control the status bar anymore (it was possible and popular back in the day) because of fraudulent intentions.

    Your better bet would be a title attribute or a javascript tooltip.

提交回复
热议问题