This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts datagridselect problem  RSS feed

 
Sidd Kulk
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the struts layout datagridselect.
Any way I can add an event handler to the resulting drop down box? I want to invoke a Javascript function for on Change event...
Following is a sample code:

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to try asking on the struts-layout mailing list, although volume is rather low:

http://struts.improve-technologies.com/mail-lists.html

If the struts-layout tags (not really part of the Struts project, btw) doesn't provide anything natively you may be able to examine the rendered HTML and use pure JavaScript to attach handlers anyway, though.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!