Home Unanswered Active Tags New Question

onselectstart and xhtml compliance

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

Asked by jonathan 3 years ago.
Replies

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.


Comment posted by Dan Letecky 3 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java