Prevent selection

  • Thread starter Thread starter Chris Zopers
  • Start date Start date
C

Chris Zopers

Hello,

I have a html table in which selection is prevented by using
onselectstart="return false;". This way, the user can't select anything
in the table with the mouse or with the shift+arrow keys.

But in one table cell I need to re-activate the selection possibility
again. I don't know how to do that, adding onselectstart="return true;"
to the cell does not work.

Anyone knows how to do this?

Greetings,
Chris
 
Perhaps adding and removing the handler programatically would do the trick.
 

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