![]() |
![]() | ![]() | ![]() | 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 Island Re: Find html Element - Data IslandTo: NULL Date: 3/2/2005 12:07:00 AM 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.
Thanks.
Mario
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
