9 Aug 22:56
Adding a javascript event handler to a widget
From: Kamal Gill <ksgill@...>
Subject: Adding a javascript event handler to a widget
Newsgroups: gmane.comp.web.zope.plone.archetypes.general
Date: 2004-08-09 21:00:15 GMT
Subject: Adding a javascript event handler to a widget
Newsgroups: gmane.comp.web.zope.plone.archetypes.general
Date: 2004-08-09 21:00:15 GMT
How do I add a javascript event handler to a widget? For example, how would I add the HTML attribute onFocus="select()" to a StringWidget? My suspicion is to use the attributes property of the widget, but I am unable to find any documentation or usage examples regarding the attributes property of Archetype widgets. Any help is much appreciated. - Kamal ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
A new property on widgets sounds reasonable.
I suggest you write your thoughts, so we can got consensus
about the idea and effectively implement it on AT.
Regards,
RSS Feed