...

View Full Version : highlight text on page and alert me



deathmill
08-19-2005, 11:27 PM
hi,

This is a strange accessibility project I'm having to look into.

Is it possible to have a page with text, highlight any word, or 2 or 3 then have it pop up an alert window telling you what you have highlighted with teh mouse on the page?

Thanks for any help you can on this.

Death = $Mill

glenmac
08-20-2005, 08:38 AM
you can use the onselect handler in IE check this link

<input type - "text" onselect = "alert(this.value)" />
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events/onselect.asp



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum