Why doesn't validate selected text work in pulldown menus?

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

Why doesn't validate selected text work in pulldown menus?

Postby sevi8 » Fri Jun 24, 2011 5:04 pm

Why doesn't validate selected text work in pulldown menus?
sevi8
 
Posts: 1
Joined: Fri Jun 24, 2011 5:02 pm

Re: Why doesn't validate selected text work in pulldown menu

Postby eValid » Wed Jun 29, 2011 7:23 am

sevi8 wrote:Why doesn't validate selected text work in pulldown menus?
The technical reason is, that the text you see in such a pulldown menu is not selectable in the same sense as a piece of ordinary text that shows in the face of the browser.

In other words, the ValidateSelectedText command can't see what is in a pulldown menu because it is of a different internal object type from what you see in the browser face.

So, OK, then what do we do if we want to validate the contents of pulldown menus? The answer is that you have to use the special mouseover recording mode to make sure you have a script that exposes the content of what is in the menu when you highlight it and then send the OK event to the pulldown menu handler.

Check the documentation for eValid on how to use this special mode.

eValid Support
eValid
 
Posts: 2431
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