Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How do I make a mix of html/xml work? >Thread Next - Re: How do I make a mix of html/xml work? Re: How do I make a mix of html/xml work?To: NULL Date: 11/1/2004 11:59:00 AM Mike Kamermans wrote: > how to get the element node that called a javascript function. > > In html context this could be done using 'this', and making the javascript > function have an event as argument, then calling event.target in body of > the function and working with that - in xhtml context this doesn't seem to > work... It should work, the W3C DOM Events model applies to both HTML and XHTML so scripting events shouldn't change with Mozilla whether you serve text/html or application/xhtml. If you have problems to get it to work then make a small test case and post it here or better even post its URL. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
