![]() |
Prevent selection
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 *** Sent via Developersdex http://www.developersdex.com *** |
Re: Prevent selection
Perhaps adding and removing the handler programatically would do the trick.
"Chris Zopers" <test123test12@12move.nl> wrote in message news:%23rDp%23TR1IHA.4476@TK2MSFTNGP06.phx.gbl... > 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 > > > *** Sent via Developersdex http://www.developersdex.com *** |
| All times are GMT. The time now is 09:28 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.