durusmail: quixote-users: widgets and javascript
widgets and javascript
widgets and javascript
Mark Bucciarelli
2003-11-10
i'm working on a color chooser widget that is based on a rather rather large
chunk of javascript.  there's really no clever way to wrap these two pieces
up together, is there?

Unless someone can suggest a better approach, I'll probably add a get_js()
method to the widget.  then any form that uses this widget would have to
remember to call this method.  at least this way it's bundled together in the
same object.

regards,

--
Mark Bucciarelli, www.hubcapconsulting.com
  As we enjoy great advantages from inventions of others, we should
be glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously.  -- Benjamin Franklin

reply