• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Determining which element caused an event to occur

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have 5 drop downs on a jsp. I have a single action which dynamically changes the contents of the drop downs depending on selection change in one of the drop downs.

The problem is, I want to determine which of the five drop down was changed. I need this info in the action file.

Please advice how to do this.

I dont think I need to provide any existing code for this.
And if I am missing any info please tell.


Thanks
Kanishk
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use Ajax with Dojo plugin.
 
kanishk dewan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mohana,

Thanks for a quick reply.

I am using ajax with dojo plugin, but how does it enable me to know which element has caused the event action. I need to know this in my action class.

Thanks
Kanishk
 
reply
    Bookmark Topic Watch Topic
  • New Topic