How do you cause a specific DOM element to be highlighted?

Applying eValid to AJAX applications that require advanced DOM-based methods.

How do you cause a specific DOM element to be highlighted?

Postby tomasj » Wed Nov 09, 2011 5:37 pm

How do you cause a specific DOM element to be highlighted?
tomasj
 
Posts: 1
Joined: Wed Nov 09, 2011 4:34 pm

Re: How do you cause a specific DOM element to be highlighte

Postby eValid » Fri Nov 18, 2011 1:01 pm

tomasj wrote:How do you cause a specific DOM element to be highlighted?
Yes, it can!

You have probably already seen the PageMap feature in which you select a DOM element and it is highlighted (momentarily; it blinks three times) automatically. That's done with a simple DOM change to the next higher Dom element that sets the BORDER property to have the value "3", and then issues a restore command to the element.

And, you have already seen how eValid can identify a text passage in an element that is highlighted...this is sensed by looking at the background color of the element.

Please consult the eValid User Manual or call the office for technical support on doing this if you have trouble.

eValid Support
eValid
 
Posts: 2395
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons