How to highlight the element with the javascript

I am trying to highlight the element with java script it showing the error “Not yet Implement error” please help …