Click here to Skip to main content
15,900,973 members
Articles / Web Development / XHTML

JavaScript AddEventByAttributeValue

Rate me:
Please Sign up or sign in to vote.
4.50/5 (2 votes)
14 Jan 2011CPOL 8.4K   1  
Add a JavaScript event handler to any XHTML element where the tagName and attribute value match criteria.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer MammothWorkwear.com
United Kingdom United Kingdom
Senior Web Developer, Systems Architect and Entrepreneur. Technical Director of MammothWorkwear.com. More information is available at http://www.johndoherty.info/

Comments and Discussions