search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

onselectstart and xhtml compliance

Asked by jonathan
15 years ago.

twimc,

my rendered calendar is not validating with xhtml as "onselectstart" is not a valid attribute for a div. my understanding is that it is an IE-only attribute regardless. is there any way, in daypilot lite, to stop it from being output in the rendered calendar?

thanks in advance

/jonathan

Comment posted by Dan Letecky
15 years ago.

You can replace it with unselectable="on" but it's an IE-specific attribute too and it has to be defined on all child elements.

You can also delete it altogether (in the source code) but it will allow text selecting inside events.


This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.