Hi,

I have this piece of js code which fails XHTML validation, can some one please externalize this code for me using JS. I am not into Javascript and actual code sample will be highly appreciated.

<body ondragstart="return false" onselectstart="return false">

Thank you all in advance...

Cheers,
Piscean