Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Find html Element - Data Island [Thread Next] Re: Find html Element - Data IslandTo: NULL Date: 3/2/2005 11:55:00 PM "PriMa" wrote in message
news:0915FE2A-6079-4113-8A0A-4B3014A9194F@m......
: Hi Roland,
:
: > This is the .htc file source:
: > <component>
: > <attach for="element" event="onfocus" handler="hi_lite" />
: > <attach for="element" event="onblur" handler="low_lite" />
: > <script type="text/javascript">
: > function hi_lite() {
: > element.style.backgroundColor='red';
: > }
: > function low_lite() {
: > element.style.backgroundColor='white';
: > }
: > </script>
: > </component>
:
: thank you very much for your information. This works great if i want to
: highlight the item where i am on it. But if i want to highlight an item on
a
: button click, it is not easy to find the item. I can search the html file
for
: all intputs, but this is not the way i want it. I want to search the
XML-File
: with XPath and behind the item i find is an bounded input field and this
is
: the item i want to highlight.
You want to hilite all input fields or just a specific one? If a specific
one, how will you identify it?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
